Use StringMap in IDL generated string lookup tables

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0
    • Security 2023-05-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, IDL uses std::unordered_map<std::string> in string lookup tables. This necessitates a string allocation to lookup strings. It should be changed to mongo::StringMap so that StringData can be used as a lookup key.

              Assignee:
              Mark Benvenuto
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: