[SERVER-73426] Minimal alternative to util/pair_map.h Created: 28/Jan/23  Updated: 29/Oct/23  Resolved: 31/Jan/23

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

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

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-02-06
Participants:

 Description   

The PairMap has only one use, with a simple key type pair<enum,string>. We can replace the header with ~15 inline LoC and handle that single use. Making PairMap applicable to a truly generic case and testing it would take much more work.



 Comments   
Comment by Githook User [ 31/Jan/23 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-73426 Minimal alternative to generic `PairMap<K1,K2,V>`
Branch: master
https://github.com/mongodb/mongo/commit/06ff4f6925f38ccf8dedd561dc797479d635cc28

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