Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Hash space/ time tradeoff

by Laurent_R (Abbot)
on Dec 27, 2013 at 19:03 UTC ( #1068562=note: print w/replies, xml ) Need Help??

in reply to Hash space/ time tradeoff

I doubt that having the secondary hash will save you much time in the setting you are describing, but only benchmarking with actual data can give you the answer. Using an auxiliary hash once enabled me to divide by about 10 the run time of a program, but the setting was very different and the hash made it possible to avoid a combinational explosion my removing early data that was not going to match anything anyway. Your case appears to be quite different.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1068562]
and the questions are moot...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2017-06-29 09:23 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (657 votes). Check out past polls.