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

Avoid string copy on CSS lookup

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-04-01

      Currently, the CSS map is structured as a StringMap, which means that all lookups need to incur data copy due to serialisation, which gets thrown-out immediately after the lookup.

      If it was structured as std::unordered_map<NamespaceString, ...>, there will be no need for this copy.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: