Tuesday, October 02, 2012

Five Myths about Hash Tables « Hugh E. Williams

Five Myths about Hash Tables « Hugh E. Williams: "This doesn’t happen in practice. At least, it won’t happen if you make a reasonable attempt to design a hash function using some knowledge of the search keys. Indeed, hashing is usually in the average case much closer to O(1). In practice, that means almost always you’ll find what you’re looking for on the first search attempt (and you will do very little secondary searching).

"

'via Blog this'