Another happy memcached user

Russ Garrett
Sat, 26 Jun 2004 23:57:55 +0100

Troy Hakala wrote:

> And speed-wise, the shift>>16 version is the fastest of the 3 in my 
> tests. For example, the shift>>16 function, the sprintf function and 
> the PHPCA/Perl function take, when hashing 100,000 keys, 1.04 seconds, 
> 2.69 seconds and 131.30 (!) seconds, respectively. Anyway, it's food 
> for thought I guess.  If anyone's interested in running these tests 
> themselves, the PHP code is attached. 

Woah. That might be why our web server is CPU-bound. Thanks for the hint.