[SERVER-86372] Avoid materializing BSONElements twice in decompressIterative Created: 07/Feb/24 Updated: 07/Feb/24 |
|
| Status: | In Progress |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Gil Alon | Assignee: | Gil Alon |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | QI 2024-02-19 | ||||||||
| Participants: | |||||||||
| Description |
|
decompressIterative() shouldn't rematerialize BSONElements. We can use appendPreAllocated to append the materialized elements we receive from the iterator decompressor. This should speed up the benchmarks added in SERVER-85176. |