You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lsm-tree.cabal
+20-3Lines changed: 20 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -139,12 +139,29 @@ description:
139
139
140
140
* The worst-case in-memory size of the Bloom filters is \(O(n)\).
141
141
142
-
The total in-memory size of all Bloom filters depends on the Bloom filter allocation strategy, which is determined by the @confBloomFilterAlloc@ field of @TableConfig@.
142
+
The total in-memory size of all Bloom filters is the number of bits per physical entry multiplied by the number of physical entries.
143
+
The required number of bits per physical entry is determined by the Bloom filter allocation strategy, which is determined by the @confBloomFilterAlloc@ field of @TableConfig@.
143
144
144
145
[@AllocFixed bitsPerPhysicalEntry@]:
145
-
The total in-memory size of all Bloom filters is the number of bits per physical entry multiplied by the number of physical entries.
146
+
The number of bits per physical entry is specified as @bitsPerPhysicalEntry@.
146
147
[@AllocRequestFPR requestedFPR@]:
147
-
__TODO__: How does one determine the bloom filter size using @AllocRequestFPR@?
148
+
The number of bits per physical entry is determined by the requested false-positive rate, which is specified as @requestedFPR@.
149
+
150
+
The false-positive rate scales exponentially with the number of bits per entry:
0 commit comments