-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2021-08-09
BSONColumnBuilder will store Simple8b blocks in a higher level binary stream. This stream we will keep track of how many consecutive Simple8b blocks we have with a 4 bit count, meaning there can be a maximum of 16 consecutive blocks.
To avoid using too many temporary buffers where we need to copy the data we should change the Simple8b builder interface to return final Simple8b blocks via a callback. When calling Simple8b::append 0, 1, 2 or more Simple8b blocks may be finalized. A callback interface also provides a generic way to test which scale factor compresses best.
- depends on
-
SERVER-58681 Split up Simple8b in separate classes for encoder and decoder
- Closed
- is depended on by
-
SERVER-58560 Implement algorithm to determine scale factor
- Closed