[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: |
|
||||||||
| 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. |