faster_require icon indicating copy to clipboard operation
faster_require copied to clipboard

A utility to make require 'xxx' take far less time in windows

Results 14 faster_require issues
Sort by recently updated
recently updated
newest added

Is there some way to clear the cache automatically after a bundler update, rather than having to remember to run "faster_require --clear-cache" each time ?

I want to do this [code] Now edit the rubygems.rb file, and add a require line to the top of it of the faster_require file, like this: require 'd:/Ruby192/lib/ruby/gems/1.9.1/gems/faster_require-0.6.0/lib/faster_require.rb'[/code] But...

Hmm I may be able to "check if the file was pre-cached, and, if so, lazy-load rubygems, or cache it's bin_path perhaps?"

"adding" ":/installs/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack.rb" (relative something something)

require 'facets' C:\dev\digitalarchive_trunk>ruby -v long.rb ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32] C:/installs/ruby-1.8.6-p388-i386-mingw32/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- facets/enumerator/conjoin.rb (LoadError) from C:/installs/ruby-1.8.6-p388-i386-mingw32/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`original_non_cached_require' from C:/installs/ruby-1.8.6-p388-i386-mingw32/lib/ruby/gems/1.8/gems/faster_require-0.5.2/lib/faster_require.rb:144:in `require' from C:/installs/ruby-1.8.6-p388-i386-mingw32/lib/ruby/gems/1.8/gems/facets-2.8.4/lib/core/facets/array.rb:5 from C:/installs/ruby-1.8.6-p388-i386-mingw32/lib/ruby/gems/1.8/gems/facets-2.8.4/lib/core/facets/array.rb:3:in`each'...

like if I make $: teeny, or mix up gem order, does it matter? What if I add brazilians of stuff to $: does it matter?

I'd guess this would be useful for redcar users :)

With ruby-prof I see this: 6.73 0.61 0.14 0.00 0.60 45 Kernel#original_non_cached_require (45!) C:\dev\ruby\faster_require>ruby-prof D:\installs\ruby-1.8.6-p388-i386-mingw32\bin\rake build

C:/installs/Ruby187/lib/ruby/gems/1.8/gems/faster_require-0.7.4/lib/faster_require.rb:218:in `original_non_cached_require': no such file to load -- ./lib//../ext/ruby_prof/ruby_prof (LoadError) except shouldn't it have been require ruby_prof.so here, anyway?