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.


In reply to Re: Does "preallocating hash improve performance"? Or "using a hash slice"? by SuicideJunkie
in thread Does "preallocating hash improve performance"? Or "using a hash slice"? by vr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":