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

Remove unnecessary MatchExpression copying from the BitsetTree converter

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • 7

      The Boolean simplifier stores expressions as std::unique_ptr<MatchExpression>, it does not really need to own the expressions, if we replace the unique pointer by a raw pointer we can avoid unnecessary copying of MatchExpressions.

            Assignee:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Reporter:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: