As of #3312, we don't do any tree shaping on lookup.
We don't promote eagerly or use aggressive promotion or passive-aggressive promotion. We just push messages down according to the traditional BRT algorithm
on insertions.
For lookups, we maintain the invariant that the in-memory leaf nodes have a soft copy which reflects all the messages above it in the tree.
So when a leaf node is brought into memory, we apply all messages above it.
When a message is inserted into the tree, we apply it to all the leaf nodes to which it is applicable.
When flushing to a leaf, we flush to the hard copy not to the soft copy.
lookups:
- As of Dr. No, we don't do any tree shaping on lookup.
- We don't promote eagerly or use aggressive promotion or passive-aggressive
promotion. We just push messages down according to the traditional BRT
algorithm on insertions.
- when a node is brought into memory, we apply ancestor messages above it.
- for point queries, we do not read the entire node into memory. instead,