[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:
Related
is related to SERVER-85254 Update Materializer Interface to prov... Closed
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.


Generated at Thu Feb 08 07:00:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.