Hi,
In message "Re: Symbol < String in Ruby > 1.8"
on Thu, 19 Oct 2006 15:56:24 +0900, Sam Roberts <sroberts / uniserve.com> writes:
|Maybe things have changed, I benchmarked comparisons between short
|strings and symbols in ruby 1.8 last year to see if I could speed up a
|library that the profiler said was spending most of its time in
|String#==, and it didn't seem to make a difference.
Interesting. Comparison should be much faster. I am not sure how you
benchmarked. You may hit a pitfall I should have found and fixed.
Can I see you benchmarking code? Can you find it?
matz.