"headius (Charles Nutter)" <headius / headius.com> wrote:
> I'd like to work with you to find more places we could be sharing
> frozen strings. A change over the summer made defined? results always
> be shared frozen strings, and apparently that was a source of lots and
> lots of extra string creation in Rails (according to wycats). There's
> many other such opportunities.

I've considered (but never got around to implementing/testing) caching
for rb_str_dup_frozen.  This might help with hashes which use common
strings as keys (e.g. CGI params and HTTP headers).

Perhaps one of you can experiment with this before I can get around
to it..