[SERVER-47349] Use flat_set instead of set for KeyStringSet and MultikeyPaths  Created: 06/Apr/20  Updated: 29/Oct/23  Resolved: 08/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:
Related
is related to SERVER-47001 Reduce number of small buffer allocat... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-04-20
Participants:

 Description   

We can then avoid a small memory allocation for each node and it allows for a refactoring where temporary data structures can have their memory recycled and reused.



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

Author:

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

Message: SERVER-47349 Use flat_set instead of set for KeyStringSet and MultikeyPaths

So we can reduce the amount of small memory allocations and re-use allocated memory.
Branch: master
https://github.com/mongodb/mongo/commit/6ef4109428abf1afe7ee73d42155d20cf1966fc0

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