News for hackers. Stuff that matters.
Re:SeenBefore: A search engine for what you have seen before by milkshakes on Tuesday September 25, 2012 @01:29AM (#4568765)
I think where you're getting confused is that you're conceptualizing this like a search problem, where you compare values and inspect each member to see if it matches the target.

That's not what's going on here. Instead, you use the value as in input into a function that tells you where to look for it, then you look, to see if it's there.

If it's not there, it won't be anywhere else, so you don't have to keep looking. Things get interesting with collisions but that's a subject for another time.

Re:SeenBefore: A search engine for what you have seen before by genwin on Tuesday September 25, 2012 @01:32AM (#4568781)
OK, thanks, I'm starting to understand. Good explanation. I quit being lazy and searched around too, to see that it's possible.