[SERVER-79612] Investigate perf impact of always copying value when deblocking Created: 02/Aug/23  Updated: 25/Oct/23  Resolved: 25/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Yoon Soo Kim Assignee: Ian Boros
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-82444 Complete TODO listed in SERVER-79612 Open
Assigned Teams:
Query Integration
Participants:

 Description   

As of Aug 2, we always make a copy of SBE value when deblocking a BSONObj for a TsBlock to simplify ownership model.

But if the underlying buffer for the BSONObj block is owned by the TsBlock, we don't really need to copy values out of it since the SBE values will point to somewhere in the BSONObj's underlying buffer.


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