|
ADS
Algorithms and Data Structures
|
The standard Ribbon filter of Dillinger and Walzer, beyond the book. More...
Files | |
| file | ADS/set/RibbonFilter.h |
| The standard Ribbon filter of Dillinger and Walzer, beyond the book: a static filter of a set \( S \) of \( n \) keys, built once, which answers maybe for every key of \( S \) and for a key out of \( S \) with probability about \( 2^{-r} \), for results of \( r \) bits (8 or 16, the type F), in \( r ( 1 + \varepsilon ) \) bits per key, \( \varepsilon \) a small overhead [see below], against the \( 1.44 r \) of a filter of Bloom with the same false positives [see BloomFilter.h] and the \( 1.125 r \) of the binary fuse filter at large \( n \) [see BinaryFuseFilter.h]. | |
Classes | |
| class | ADS::RibbonFilter< T, F, H > |
| a static filter of the keys of type T with results of type F, one equation of 64 coefficients per key More... | |
Macros | |
| #define | ADS_FILTER_INLINE ADS_ALWAYS_INLINE |
| a function inlined even where the compiler would not | |
The standard Ribbon filter of Dillinger and Walzer, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of sets.
| #define ADS_FILTER_INLINE ADS_ALWAYS_INLINE |
a function inlined even where the compiler would not