ara wrote:
> but this slightly modified version shows strings being a tiny bit 
> faster:

The difference is that your version measures more than just hash access 
speed.  It also includes string and symbol creation times.  In 
particular, to create a symbol, you must first create a string, so you 
have twice as many object creations when using symbols.

--
-- Jim Weirich

-- 
Posted via http://www.ruby-forum.com/.