Glossary: Data Structures and Algorithms
Hash function
Also written: hash, hash()
A function that turns any key into a whole number, which a dict uses to pick the key's bucket. Within one run the same key always gives the same number.
Glossary: Data Structures and Algorithms
Also written: hash, hash()
A function that turns any key into a whole number, which a dict uses to pick the key's bucket. Within one run the same key always gives the same number.