"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?? |
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 Section
Seekers of Perl Wisdom
|
|