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

Use StringMap in IDL generated string lookup tables

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: