Strings in Switch
Per Bothner
per at bothner.com
Wed Dec 9 08:42:37 PST 2009
On 12/09/2009 07:52 AM, Fredrik Öhrström wrote:
> Especially since a compare can be so much more
> efficient than a hashcode calculation.
I'd be surprised if there is noticeable difference
on modern desktop-class processors: Either way you
have to do the memory reads, and that's what costs
- computation is close to free.
--
--Per Bothner
per at bothner.com http://per.bothner.com/
More information about the coin-dev
mailing list