Linear probing
Collision resolution scheme
Linear probing is a scheme in computer programming for resolving collisions in hash tables, data structures for maintaining a collection of key–value pairs and looking up the value associated with a given key. It was invented in 1954 by Gene Amdahl, Elaine M. McGraw, and Arthur Samuel (and, independently, by Andrey Yershov) and first analyzed in 1963 by Donald Knuth.
Nº Q2988094 ★
Commune · Histoire
Linear probing
Collision resolution scheme
Linear probing is a scheme in computer programming for resolving collisions in hash tables, data structures for maintaining a collection of key–value pairs and looking up the value associated with a given key. It was invented in 1954 by Gene Amdahl, Elaine M. McGraw, and Arthur Samuel (and, independently, by Andrey Yershov) and first analyzed in 1963 by Donald Knuth.
Sur Wikipédia
Texte en anglais Pas encore d'article dans ta langue : extrait en anglais.
Linear probing is a scheme in computer programming for resolving collisions in hash tables, data structures for maintaining a collection of key–value pairs and looking up the value associated with a given key. It was invented in 1954 by Gene Amdahl, Elaine M. McGraw, and Arthur Samuel (and, independently, by Andrey Yershov) and first analyzed in 1963 by Donald Knuth. Along with quadratic probing and double hashing, linear probing is a form of open addressing. In these schemes, each cell of a hash table stores a single key–value pair. When the hash function causes a collision by mapping a new key to a cell of the hash table that is already occupied by another key, linear probing searches the table for the closest following free location and inserts the new key there. Lookups are performed in the same way, by searching the table sequentially starting at the position given by the hash function, until finding a cell with a matching key or an empty cell. As Thorup & Zhang (2012) write, "Hash tables are the most commonly used nontrivial data structures, and the most popular implementation on standard hardware uses linear probing, which is both fast and simple." Linear probing can provide high performance because of its good locality of reference, but is more sensitive to the quality of its hash function than some other collision resolution schemes. It takes constant expected time per search, insertion, or deletion when implemented using a random hash function, a 5-independent hash function, or tabulation hashing. Good results can also be achieved in practice with other hash functions such as MurmurHash.
Texte : Wikipédia en anglais, CC BY-SA 4.0. · Image : Wikimedia Commons (Public domain) ·
Cartes voisines
-
M
MinHash
Data mining technique
Nº Q11091745 ★
Pas en vente
-
Recherche séquentielle
Nº Q787903 ★
Pas en vente
-
A
Algorithme de Rabin-Karp
Algorithme de recherche de sous-chaîne
Nº Q1384131 ★
Pas en vente
-
L
LabVIEW
Logiciel informatique
Nº Q746261 ★★
Pas en vente
-
H
Hashlife
Algorithme conçu pour accélérer la simulation du jeu de la vie
Nº Q3027624 ★
Pas en vente
-
Codage de Huffman
Codage entropique
Nº Q2647 ★★★
Pas en vente