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