[SERVER-68326] Add fast-path to decompress Simple8b containing all-skip or RLE Created: 26/Jul/22 Updated: 11/Dec/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | BSON | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Participants: |
| Description |
|
Simple8b blocks containing the skip bit pattern in all its slots can easily be determined by masking out the selector bits and checking if all remaining bits are set to 1. When this case is detected the BSONColumn decompressor can avoid unpacking every individual slot which should be a performance improvement. |