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

Improve performance of ScanStage::getNext

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • 105

      We can inline ScanStage::getFieldAccessor and change `fieldNameAndLength` to use the StringData constructor with a length parameter to avoid checking for nullptr every time.

            Assignee:
            parker.felix@mongodb.com Parker Felix
            Reporter:
            parker.felix@mongodb.com Parker Felix
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: