-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colblk: improve Uint encoding for very few rows
We currently choose the best uint encoding assuming we have a decent number of rows. For less than 8 rows, the best encoding might be different: e.g. a non-delta encoding with 2 bytes per row can be smaller than an 8 byte delta base plus 1 byte per row. In rare cases, this can make blocks *decrease* in size when we add a row which can be confusing (especially in tests). This change takes the number of rows into account to get the smallest possible encoding.
- Loading branch information
1 parent
fbbf740
commit 88babd7
Showing
11 changed files
with
707 additions
and
563 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
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
Oops, something went wrong.