Computer Science > Data Structures and Algorithms
[Submitted on 11 Mar 2015 (v1), last revised 4 Nov 2015 (this version, v8)]
Title:Faster 64-bit universal hashing using carry-less multiplications
View PDFAbstract:Intel and AMD support the Carry-less Multiplication (CLMUL) instruction set in their x64 processors. We use CLMUL to implement an almost universal 64-bit hash family (CLHASH). We compare this new family with what might be the fastest almost universal family on x64 processors (VHASH). We find that CLHASH is at least 60% faster. We also compare CLHASH with a popular hash function designed for speed (Google's CityHash). We find that CLHASH is 40% faster than CityHash on inputs larger than 64 bytes and just as fast otherwise.
Submission history
From: Daniel Lemire [view email][v1] Wed, 11 Mar 2015 19:47:09 UTC (101 KB)
[v2] Fri, 13 Mar 2015 15:32:20 UTC (101 KB)
[v3] Mon, 16 Mar 2015 20:26:26 UTC (101 KB)
[v4] Mon, 23 Mar 2015 18:31:47 UTC (107 KB)
[v5] Fri, 27 Mar 2015 20:45:29 UTC (108 KB)
[v6] Fri, 26 Jun 2015 01:45:13 UTC (121 KB)
[v7] Fri, 18 Sep 2015 00:10:17 UTC (121 KB)
[v8] Wed, 4 Nov 2015 16:34:39 UTC (121 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.