Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73426

Minimal alternative to util/pair_map.h

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2023-02-06

      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.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: