[SERVER-16730] Implement an unowned BSONObj 'view' Created: 05/Jan/15  Updated: 29/Jan/24

Status: Open
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Gregory Noma
Resolution: Unresolved Votes: 1
Labels: bson, techdebt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Storage Execution
Participants:
Linked BF Score: 160

 Description   

This will avoid a copy for extracting BSON objects out of messages.

Use cases:

  • FieldParser::extract BSONObj/BSONArray overloads
  • rpc message classes (OP_COMMAND)


 Comments   
Comment by Shin Yee Tan [ 21/Nov/23 ]

Start with creating the view type and figure out from there

Generated at Thu Feb 08 03:42:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.