Symbols are commonly used as hash keys because of their efficiency more =
than anything else. And if you're
writing hash literals, chances are there's no reason not to take =
advantage of the efficiency gains by using Symbols.
Michael Edgar
adgar / carboni.ca
http://carboni.ca/
On May 29, 2011, at 8:44 PM, Tom Wardrop wrote:
> symbol's are selected as the key type purely for their aesthetics and =
ease of use, even when strings are a more appropriate choice.