Get the latest tech news

Using floating point numbers as hash keys (2017)


Strings and integers are the most common keys for hash tables, but in principle every type can be used as a hash key, provided we define a suitable comparison operator and hash function. Most langu…

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of hash keys

hash keys