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

Remove AutoGetCollection* methods that take std::string namespace

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.2, 3.5.2
    • None
    • None
    • Minor Change
    • Query 2017-01-23
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: