gregprice (Greg Price)
- Login: gregprice
- Email: price@mit.edu
- Registered on: 09/04/2012
- Last sign in: 05/15/2013
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
10/28/2012
-
10:29 AM Ruby Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Sasada-san, thank you for the review. You're right, patch (4) should (and doesn't) invalidate the cache when the working directory changes. I believe Yura is right that it should also invalidate the cache when the filesystem encoding c...
10/16/2012
-
01:21 PM Ruby Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- trans (Thomas Sawyer) wrote:
> I believe a great deal of additional speed could be gained by optimizing
> ...
I'd like to keep this thread focused on speeding up existing code which uses #require. If you're interested in making changes...
10/14/2012
-
02:41 PM Ruby Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- =begin
I've also made these patches available at https://github.com/gnprice/ruby , in the "fast-require" branch against a recent trunk and in "fast-require-1.9.3p194" against the latest release.
If you use ((<rbenv|URL:https://github... -
01:56 PM Ruby Bug #7158 (Closed): require is slow in its bookkeeping; can make Rails startup 2.2x faster
- =begin
Starting a large application in Ruby is slow. Most of the startup
time is not spent in the actual work of loading files and running Ruby
code, but in bookkeeping in the 'require' implementation. I've
attached a patch series ...