HackerPapers

arXiv:1504.06804cs.DS

High Speed Hashing for Integers and Strings

Mikkel Thorup

Abstract

These notes describe the most efficient hash functions currently known for hashing integers and strings. These modern hash functions are often an order of magnitude faster than those presented in standard text books. They are also simpler to implement, and hence a clear win in practice, but their analysis is harder. Some of the most practical hash functions have only appeared in theory papers, and some of them requires combining results from different theory papers. The goal here is to combine the information in lecture-style notes that can be used by theoreticians and practitioners alike, thus making these practical fruits of theory more widely accessible.

arXiv comments
Fixed a few typos from previous version. Also, changed some notation to be more consistent with other literature. Please send comments/typos to me at mikkel2thorup@gmail.com
Journal reference
DOI
Subjects
cs.DSData Structures and Algorithms

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Jun 2017 to Apr 2023. Found in 2 HN submissions from Feb 2021 to Aug 2022. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • They hardly forgot it. It's just that today we prefer hash functions that are seeded, so we use a random number instead of the "magical" fibonacci constant. See for example multiply shift hashing in https://arxiv.org/abs/1504.06804

      thomasahleView on HNParent context

    • I think it is probably universal, but I have to show it to know for sure. I'm going to keep calling it universal until I know more. I think I note it in the README, but some reasons I think it is probably universal are because tifuhash can be parameterized, and it has good…

      19eightyfourView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.