Right now my program is stomping my CPU...

How do the following attribute of a hash key:
  size (something like an alphanumeric string about 70 chars wide)
  similarity (groups of about 30% of the keys are similar for the 1st
    n-10 characters
affect the performance of:
  key listings (things like grep /pattern/, keys %hash)
  key lookups (referencing $hash{$key})

What are the key factors in /good performing/ hash keys?

Thank you for your input.

--
Shawn Leas
[EMAIL PROTECTED]

I bought a dog the other day...  I named him Stay.  It's fun to
call him...  "Come here, Stay!  Come here, Stay!"  He went
insane.  Now he just ignores me and keeps typing.
                                                -- Stephen Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to