Investigate if there are more cases where we can avoid BSON allocations in IndexBoundsBuilder

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • v8.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-85588, we reduce the number of BSON allocations when constructing intervals by passing unowned BSON to Interval in the case of building bounds for $in. We should explore doing this for other operators like $eq, $lt, $gt, etc.

            Assignee:
            Hana Pearlman
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: