On Mon, Mar 17, 2008 at 6:40 PM, Ken Bloom <kbloom / gmail.com> wrote: > On Mon, 17 Mar 2008 14:01:51 +0100, Robert Klemme wrote: > > - freeze Strings that you are going to use as Hash keys. > > Is that in any way a speedup hint? or is it just a safety hint? What > causes the speedup? Otherwise Hash will dup and freeze the String anyway. http://ruby-doc.org/core/classes/Hash.html#M002878 (What is not mentioned there is that frozen strings will not be duplicated.)