• Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      By passing some strings by const reference, we can avoid some string copies in src/mongo/db/stats/api_version_metrics.cpp and src/mongo/db/stats/api_version_metrics.h .

      Likewise, in _initiateCommand() we can avoid some string copies during lookups by using a StringDataSet instead of a StringMap. See src/mongo/db/service_entry_point_common.cpp

            Assignee:
            colin.stolley@mongodb.com Colin Stolley
            Reporter:
            colin.stolley@mongodb.com Colin Stolley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: