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

Avoid materializing BSONElements twice in decompressIterative

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • QI 2024-02-19

    Description

      decompressIterative() shouldn't rematerialize BSONElements. We can use appendPreAllocated to append the materialized elements we receive from the iterator decompressor. This should speed up the benchmarks added in SERVER-85176.

      Attachments

        Activity

          People

            gil.alon@mongodb.com Gil Alon
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: