Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
BloomFilter.h File Reference

Fixed-size Bloom filters over precomputed 32-bit hashes: donner::BloomHash, donner::BloomFilter and donner::CountingBloomFilter. More...

#include <array>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <string_view>
Include dependency graph for BloomFilter.h:
This graph shows which files directly or indirectly include this file:

Classes

class  donner::BloomHash
 A 32-bit key hash for BloomFilter and CountingBloomFilter. More...
struct  donner::detail::BloomProbes< kLog2Slots >
 The two probe positions both filters derive from a BloomHash: bits 0 to kLog2Slots-1 and bits kLog2Slots to 2*kLog2Slots-1. More...
class  donner::BloomFilter< kLog2Bits >
 A Bloom filter of 2^kLog2Bits bits with two probes per key, for sets that only grow until clear. More...
class  donner::CountingBloomFilter< kLog2Slots >
 A counting Bloom filter of 2^kLog2Slots 8-bit saturating counters with two probes per key, which supports remove. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Detailed Description

Fixed-size Bloom filters over precomputed 32-bit hashes: donner::BloomHash, donner::BloomFilter and donner::CountingBloomFilter.