The general rule of thumb for hash tables is to size a hash table intended to store N items to have roughly N buckets. If you have to traverse long chains, you wind up with O(N) rather than O(1) behavior. - Bill