[Gllug] Faster maths?

Adrian McMenamin adrian at newgolddream.dyndns.info
Fri Mar 9 12:24:01 UTC 2007


On Fri, March 9, 2007 12:03 pm, Andy Farnsworth wrote:
> Adrian McMenamin wrote:
>> Is hashing in perl really that slow?
>>
>>
> Hashing in perl has been highly optimized.  I have used hashes on the
> order of a million entries and it has worked extremely quickly (<1
> second for 1000 lookups).  The only real issue is if you start to get a
> very large number of hash collisions, then it may slow down.
>

There should be no clashes. Though this is about adding an entry to the
hash rather than a lookup.

-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list