Speed improvements for shapifying MatchExpressions

XMLWordPrintableJSON

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

      Discovered this while looking into SERVER-80934 and SERVER-79736. In our PathMatchExpression serialization we will end up creating a Value from the BSONElement _rhs which we don't need to do. The basic/simple patch showed a good difference but will need some tweaking to eliminate some code duplication.

      I will update with the difference it makes once I re-run the numbers.

            Assignee:
            Charlie Swanson
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: