From: "Iñaki Baz Castillo" Date: 2009-04-02T18:19:52+09:00 Subject: Re: Symbols garbage collector in Ruby1.9, fixed? 2009/4/2 Rick DeNatale : > Actually, I'm pretty sure that Symbols are faster as hash keys because > Hash#== is O(1) while String#== is O(n) where n is the length of the string. > That said, the HashWithIndifferentAccess class in activesupport  allows > either strings or symbols to be used interchangeably as the key argument in > methods like [] and []=, but it always USES the string form as the key. Oh, then it's better just to use strings, I don't need to support string and symbols at the same time, I just need to make a decission. Thanks for pointing it out. -- Iñaki Baz Castillo