Feature #7387

Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.

Added by zzak (Zachary Scott) over 8 years ago. Updated over 8 years ago.

Target version:


I'm moving this over from github:


Related issues

Is duplicate of Ruby master - Feature #5427: Not complex patch to improve `require` time (load.c)Closednobu (Nobuyoshi Nakada)10/09/2011Actions

Updated by mame (Yusuke Endoh) over 8 years ago

  • Status changed from Open to Feedback
  • Assignee changed from mame (Yusuke Endoh) to zzak (Zachary Scott)

Zachary, thank you for the sorting out the tickets!

I think that the problem itself was fixed effectively by #7158.
Am I misunderstanding?

Yusuke Endoh

Updated by zzak (Zachary Scott) over 8 years ago

mame, you're welcome, I hope it helps you with the release!

I wasn't sure if this was included in #7158, so it may be duplicate. Feel free to close this ticket.

Updated by zzak (Zachary Scott) over 8 years ago

  • Assignee changed from zzak (Zachary Scott) to h.shirosaki (Hiroshi Shirosaki)

Hiroshi-san can you verify this has been resolved?

Updated by h.shirosaki (Hiroshi Shirosaki) over 8 years ago

  • Status changed from Feedback to Closed

LOADED_FEATURES hash index was included in #7158. Sorted LOADED_FEATURES is another approach for faster LOADED_FEATURES lookup in require, but we cannot apply both of them since they are conflicted implementations. Performance issue of require was fixed by #7158. So I close this.

Also available in: Atom PDF