top | item 33188946

(no title)

indiv0 | 3 years ago

I just did a comparison between almost every hashing algorithm I could find on crates.io. On my machine t1ha2 (under the t1ha crate) beat the pants off of every other algorithm. By like an order of magnitude. Others in the lead were blake3 (from the blake3 crate) and metrohash. Worth taking a look at those if you’re going for hash speed.

I don’t have the exact numbers on me right now but I can share them tomorrow (along with the benchmark code) if you’re interested.

discuss

order

ComputerGuru|3 years ago

FYI Small hashes beat better quality hashes for hash table purposes.