[SERVER-47416] Eliminate copying of data structures in keystring generation code path Created: 08/Apr/20  Updated: 29/Oct/23  Resolved: 14/Apr/20

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

Type: Improvement Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
is related to SERVER-47001 Reduce number of small buffer allocat... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-04-20
Participants:
Linked BF Score: 0

 Description   

Sometimes copies are made because the interface uses different data structures.

Sometimes they are made in recursion



 Comments   
Comment by Githook User [ 14/Apr/20 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-47416 Eliminate copies of KeyStringSet when possible

Also reusing memory for temporary data structure in KeyString generation for arrays.
Branch: master
https://github.com/mongodb/mongo/commit/0aab1bdb1f18bdb60ca08ad80f687dc6e1351358

Generated at Thu Feb 08 05:14:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.