Syntactic Confectionery Delight | |
PerlMonks |
Re^2: better array to hash conversionby BrowserUk (Patriarch) |
on Dec 11, 2012 at 14:41 UTC ( [id://1008316]=note: print w/replies, xml ) | Need Help?? |
As the array size grows, it doesn't take long for the OPs original to out pace variation1. It only requires a 200,000 or so for that to happen, and the benefits mount geometrically as the array size grows:
(I've added another variation that works better for large arrays.) With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|