Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement loaded feature caching to reduce load path searching. #452
This is an idea borrowed from Ruby 2.0.0, whereby the short names
The population and invalidation of the cache proceeds as follows:
Numbers with and without this change show the performance gained.
system ~/projects/jruby $ rvm jruby do jruby bench_loaded_features.rb 1000 1000
system ~/projects/jruby $ jruby bench_loaded_features.rb 1000 1000