An open API service indexing awesome lists of open source software.

https://github.com/lemire/fasthashing

A Variable-Length String Hashing Library in C++
https://github.com/lemire/fasthashing

Last synced: 12 months ago
JSON representation

A Variable-Length String Hashing Library in C++

Awesome Lists containing this project

README

          

Fast strongly universal hash functions
--------------------------------------

[![Code Quality: Cpp](https://img.shields.io/lgtm/grade/cpp/g/lemire/fasthashing.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/lemire/fasthashing/context:cpp)

What is this?
--------------

An implementation of a few very fast almost universal hash functions
over 32-bit strings.

It is necessary to understand random hashing to use this library.

Owen Kaser and Daniel Lemire, Strongly universal string hashing is fast, Computer Journal (2014) 57 (11): 1624-1638.
http://arxiv.org/abs/1202.4961

Usage
------

See example.cpp.

C equivalent
------------

See

https://github.com/lemire/StronglyUniversalStringHashing