benchmarking Perl client hash functions

Anatoly Vorobey
Sat, 17 Jul 2004 02:47:05 +0300

On Fri, Jul 16, 2004 at 06:57:53PM -0400, Larry Leszczynski wrote:
> I also tried a slight variation where I did a hash lookup of the ord()
> values instead of the function call, but surprisingly (at least to me)
> that ran about 7% slower than the original:

That's because ord() is a pseudo-function. There is no actual function 
call, it just takes the first character of the scalar and returns its 
numeric value (i.e. the character itself). 
"There's nothing simply good, nor ill alone" -- John Donne