http://www.perlmonks.org?node_id=1020796


in reply to Re^3: Store larg hashes more efficiently (10e6 md5s in 260MB at 4µs per lookup)
in thread Store large hashes more efficiently

I would be happy to play... But before that I want to make sure that my two suggestions for improvement are valid since I am at best a Perl neophyte...
  • Comment on Re^4: Store larg hashes more efficiently (10e6 md5s in 260MB at 4µs per lookup)

Replies are listed 'Best First'.
Re^5: Store larg hashes more efficiently (10e6 md5s in 260MB at 4µs per lookup)
by BrowserUk (Patriarch) on Feb 27, 2013 at 10:47 UTC

    I have my own projects to take care of. I've supplied you with code that measures both; and you have the problem.

    The only way for either of us to determine whether your suggestions are improvements; is to try them: do they make lookups slower or faster; or use more or less memory?

    If I do it, you remain a neophyte. If you do it, you become less of a neophyte.


    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.
      I wasn't suggesting you try it for me - I just wanted to make sure I wasn't totally misunderstanding your code and go off on a wild goose chase...