-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Offset list counts zero offsets (#454)
This change allows the OffsetList to count the length of a zero prefix of all offsets without actually storing the zero elements. This avoids consuming memory in a frequently-occurring pattern where at least the first element is zero, or if the singleton update optimization kicks in, a large prefix of elements (up to all) are zero. Signed-off-by: Moritz Hoffmann <[email protected]>
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 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