-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update RRB size table after draining in push_chunk
When a chunk does not fully fit in a node, we drain as many elements from the chunk into the node and later push the leftover chunk to a sibling. This commit makes sure that the size field of the parent node is updated correctly. For dense nodes, we can simply add the number of drained elements to the size. If there is a size table, we add that number to the size entry corresponding to the current element and all entries to the right. Closes #74
- Loading branch information
Showing
3 changed files
with
69 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters