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
All search routines keep **only a small, fixed number of nodes in memory**. When descending, a node is fetched via `reader.seek()` + `reader.read_exact()` into a scratch buffer. The maximum resident memory during search is therefore `(H + 2) × B × size_of<Entry<K>>`, typically a few kilobytes even for large trees.
119
119
120
+
### 3.9 Query Operators
121
+
To support a richer query API, the static B+Tree will expose all common comparison operators on keys:
122
+
***Eq**: exact match ⇒ all offsets where `key == target`.
123
+
***Ne**: not equal ⇒ all offsets where `key != target`.
124
+
***Gt**: greater than ⇒ all offsets where `key > target`.
125
+
***Ge**: greater or equal ⇒ all offsets where `key >= target`.
126
+
***Lt**: less than ⇒ all offsets where `key < target`.
127
+
***Le**: less or equal ⇒ all offsets where `key <= target`.
0 commit comments