Skip to content

Improve require performance by binary search of feature.#2

Closed
funny-falcon wants to merge 1 commit intoskaes:masterfrom
funny-falcon:patch-1
Closed

Improve require performance by binary search of feature.#2
funny-falcon wants to merge 1 commit intoskaes:masterfrom
funny-falcon:patch-1

Conversation

@funny-falcon
Copy link

Keep loaded_features sorted by basename without extension, lookup to loaded_features using binary search.

@skaes
Copy link
Owner

skaes commented Oct 25, 2011

I hav made this available on a branch, but decided to keep it out of master.

See https://github.com/skaes/rvm-patchsets/tree/keep-loaded-features-sorted

I wasn't able to reproduce significant improvements over the original load.c patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants