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

Remove AutoGetCollection* methods that take std::string namespace

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.2, 3.5.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • Query 2017-01-23
    • 0

      The AutoGetCollection* methods that take a std::string for the namespace will then create a NamespaceString object, which is an expensive operation. In many cases we pass a std::string when we already have a NamespaceString or could create a single instance shared across multiple calls.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: