larskuhtz/cuckoo


Haskell Implementation of Cuckoo Filters

License: BSD-3-Clause

Language: Haskell

Keywords: cuckoo-filter, haskell, probabilistic-data-structures, set-membership


Build Status

Haskell implementation of Cuckoo filters as described in

B. Fan, D.G. Anderson, M. Kaminsky, M.D. Mitzenmacher. Cuckoo Filter: Practically Better Than Bloom. In Proc. CoNEXT, 2014.

Cuckoo filters are a data structure for probabilistic set membership. They support insertion, deletion, and membership queries for set elements.

Membership queries may return false positive results. But queries don't return false negative results.

Unlike Bloom filters, Cuckoo filters maintain an upper bound on the false positive rate that is independent of the load of the filter. However, insertion of new elements in the filter can fail. For typical configurations this probability is very small for load factors smaller than 90 percent.

The implementation allows the user to specify the bucket size and the fingerprint size in addition to the capacity of the filter. The user can also provide custom functions for computing the primary hash and fingerprint.

Project Statistics

Sourcerank 3
Repository Size 24.4 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Lars Kuhtz

Packages Referencing this Repo

cuckoo
Haskell implementation of Cuckoo filters as described in B. Fan, D.G. Anderson, M. Kaminsky, M.D...
Latest release - Published

Something wrong with this page? Make a suggestion

Last synced: 2019-08-17 06:08:17 UTC

Login to resync this repository