laziness, impatience, and hubris | |
PerlMonks |
RE: Re: each or keys?by merlyn (Sage) |
on Oct 11, 2000 at 03:42 UTC ( [id://36158]=note: print w/replies, xml ) | Need Help?? |
Copying the hash means that keys and values might come out in different orders,
and since you're quitting when the total reaches a certain point, you have
a bogus benchmark.
I suggest setting all the values to be the same and rerunning the benchmarks. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|