Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Does "preallocating hash improve performance"? Or "using a hash slice"?

by SuicideJunkie (Vicar)
on Feb 15, 2017 at 20:11 UTC ( [id://1182094]=note: print w/replies, xml ) Need Help??


in reply to Does "preallocating hash improve performance"? Or "using a hash slice"?

My first thought was: how many million keys did you try adding? I scrolled back up, and it was very few million keys indeed :)

The other thing as noted above, is that if you don't see a difference between two things, you're probably just measuring overhead.

  • Comment on Re: Does "preallocating hash improve performance"? Or "using a hash slice"?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-26 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found