How to pre-allocate memory for a large hash in Perl
Tuesday, 15 April 2008
As an lvalue “keys” allows you to increase the number of hash buckets allocated for the given hash. This can gain you a measure of efficiency if you know the hash is going to get big.
Taken from
perldoc -f keys
. Awesome!
A Short History of Nearly Everything
I Am a Strange Loop
Seven Languages in Seven Weeks