Forwarding you to

Speeding up Ruby with Shared Strings | Tenderlovemaking

It’s not often I am able to write a patch that not only reduces memory usage, but increases speed as well. Usually I find myself trading memory for speed, so it’s a real treat when I can improve both in one patch. Today I want to talk about the patch I submitted to Ruby in this ticket . It decreases “after boot” memory usage of a Rails application by 4% and speeds up require by about 35%.