http://mail-index.netbsd.org/tech-perform/2001/11/28/0028.html
Hash functions have many applications besides Hash Tables. For example, Bloom Filters
http://en.wikipedia.org/wiki/Bloom_filter
are an application of hash functions to the implementation of sets.
Some applications rely on hash functions with special properties:
| Expected-case Cost | Worst-case Cost | ||
| lookup() | O(n) | O(n) | |
| DictLRS | insert() | O(n) | O(n) |
| remove() | O(n) | O(n) | |
| lookup() | O(log n) | O(n) | |
| DictBT | insert() | O(log n) | O(n) |
| remove() | O(log n) | O(n) | |
| lookup() | O(log n) | O(log n) | |
| DictArray | insert() | O(n) | O(n) |
| remove() | O(n) | O(n) | |
| lookup() | O(1) | O(n) | |
| DictHash | insert() | O(1)* | O(n) |
| remove() | O(1) | O(n) |