CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [skualito92] iterate over millions hash entries: Edit Log



BillKSmith
Veteran

Apr 12, 2017, 8:36 AM


Views: 8661
Re: [skualito92] iterate over millions hash entries

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.

UPDATE: Test cases which I have generated suggest that this technique has little if any value. Frown
Good Luck,
Bill

(This post was edited by BillKSmith on Apr 12, 2017, 3:40 PM)


Edit Log:
Post edited by BillKSmith (Veteran) on Apr 12, 2017, 3:40 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives