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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Dianna Hohensee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: