Apr 12, 2017, 8:36 AM
It should help some to 'preallocate' the hash. (Refer: 'keys' function in perlib) This would be a trivial change, but you may have to experiment some to get the optimal value.
Re: [skualito92] iterate over millions hash entries
UPDATE: Test cases which I have generated suggest that this technique has little if any value.
(This post was edited by BillKSmith on Apr 12, 2017, 3:40 PM)