Hi,
In message "[ruby-talk:16751] Re: Symbols, and their use as hash keys"
on 01/06/22, "Aristarkh A Zagorodnikov" <xm / w3d.ru> writes:
|> Symbols are immediate numbers. We can compare them in one machine
|> operation, instead of byte by byte comparison like strings.
|Hehe ... I know this already ... but why they are _slower_ ?
because "intern" is not free, I think. You called intern 10000 times
once for each symbol.
matz.