Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Minimum Hash keys allocated?

by flexvault (Prior)
on Sep 26, 2010 at 21:32 UTC ( #862125=note: print w/ replies, xml ) Need Help??


in reply to Re: Minimum Hash keys allocated?
in thread Minimum Hash keys allocated?

WOW . . .

That was even a better answer than I expected!

For the interactive application I've written/using, pre-allocating the hashes, has improvements of 8-24% using hashes with 256 to 2048 keys on AIX and even better on Linux. But I didn't know about how the algorithm worked on smaller hashes. With your great and simple script, I can test larger combinations as well.

Thank you very much...Ed

PS: Is the algorithm the same on perl 5.8.8?


Comment on Re^2: Minimum Hash keys allocated?
Replies are listed 'Best First'.
Re^3: Minimum Hash keys allocated?
by BrowserUk (Pope) on Sep 26, 2010 at 21:41 UTC
    PS: Is the algorithm the same on perl 5.8.8?

    To my knowledge, it hasn't changed since before 5.6 days. Possibly never, but that's as far as I go back with Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://862125]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2015-07-29 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls