in reply to Re: Re**3: Eek! goto?
in thread Eek! goto?
This seems to match the output of pfaut's code. If benchmarking you could eek out some more throughput by storing the hash key indexes in an array (as opposed to forcing three x per iteration of the loop.while($len){ $H{(('a')x4,('b')x4,('c')x3)[--$len]} += $k[$len] << (8* ( ($len > 7 ? $len +1 : $len)%4 ) ); }
--
I'm not belgian but I play one on TV.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re**5: Eek! goto?
by pfaut (Priest) on Feb 12, 2003 at 18:27 UTC |