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!
Archives for the Date April 15th, 2008
How to pre-allocate memory for a large hash in Perl
Tuesday, 15 April 2008
I Am a Strange Loop
Seven Languages in Seven Weeks
A Short History of Nearly Everything