Skip to content

Commit

Permalink
Speedb's Paired Block Bloom (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
udi-speedb committed Nov 23, 2022
1 parent 1268313 commit 03572d4
Show file tree
Hide file tree
Showing 15 changed files with 4,442 additions and 240 deletions.
5 changes: 5 additions & 0 deletions include/rocksdb/filter_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ class FilterPolicy : public Customizable {
// family (rare), implementations may return Name().
virtual const char* CompatibilityName() const = 0;

// Utility helper to parse the URI passed to the CreateFromString()
// And extract the value of the bits-per-key passed via that URI
// See CreateFromString() below for more details
static double ExtractBitsPerKeyFromUri(const std::string& uri);

// Creates a new FilterPolicy based on the input value string and returns the
// result The value might be an ID, and ID with properties, or an old-style
// policy string.
Expand Down
4 changes: 3 additions & 1 deletion plugin/speedb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

set(speedb_SOURCES
speedb_registry.cc
memtable/hash_spd_rep.cc)
memtable/hash_spd_rep.cc
paired_filter/speedb_paired_bloom.cc
paired_filter/speedb_paired_bloom_internal.cc)

set(speedb_FUNC register_SpeedbPlugins)
Loading

0 comments on commit 03572d4

Please sign in to comment.