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

Change SBEPatternValueCmp to save asc or desc sort as a class variable instead of evaluate it

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QE 2022-11-14
    • 35

      It was found during SERVER-69985 that saving this evaluation into a class variable instead of evaluating it each value comparison led to performance improvements in SBE $sortArray

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: