From: Christian Szegedy Date: 2004-11-07T11:43:38+09:00 Subject: Re: Ruby is a slow performer Christian Szegedy wrote: > And the result is roughly the same. > Let's try the functionally equivalent: > hash[i.to_s] = 1 > Just a side remark: one can use i.to_s(16) and it is about as fast as the unformatted decimal conversion and it is equivalant to the original specification.