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

DocumentSourceCursor should store namespace as NamespaceString

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.2, 3.5.1
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • Query 2017-01-23
    • 0

      DocumentSourceCursor takes a std::string at construction and copies to a std::string member. This string is then used to create a NamespaceString object on each serialize() and loadBatch() call. Creating the NamespaceString at construction (in place of the std::string) will allow for reuse and improve performance.

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

              Created:
              Updated:
              Resolved: