Skip to main content

Hash table - Wikipedia, the free encyclopedia

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Bookmark History

Saved by 12 people (-6 private), first by anonymouse user on 2006-07-13


Public Sticky notes

H ash tables support the efficient insertion of new entries, expecte >d O(1) > time >.

Highlighted by johnwprior

hash table; both i nsertion and search approac >h O(1) > time >

Highlighted by johnwprior

Evaluating a good hash function can be a slow operation. In particular, if simple array indexing can be used instead, this is usually faster.

Highlighted by johnwprior

Hash tables in general exhibit poor locality of reference

Highlighted by johnwprior

Compared to other associative array data structures, hash tables are most useful when large numbers of records are to be stored, especially if the size of the data set can be predicted.

Highlighted by johnwprior

a black hat with knowledge of the hash function may be able to supply information to a hash which creates worst-case behavior by causing excessive collisions, resulting in very poor performance (i.e., a denial of service attack)

Highlighted by johnwprior

he primary operation it supports efficiently is a lookup: given a key (e.g. a person's name), find the corresponding value (e.g. that person's telephone number). It works by transforming the key using a hash function into a hash, a number that is used as an index in an array to locate the desired location ("bucket") where the values should be.

Highlighted by anirudh_22

The primary operation it supports efficiently is a lookup:

Highlighted by glasswort

With a good hash function, a hash table can typically contain about 70%–80% as many elements as it does table slots and still perform well.

Highlighted by johnwprior

1 + 2 + 4 + 8 + ... + n = 2n - 1.

Highlighted by johnwprior