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

Collector can use the index operator instead of push_back if it knows its size before decompressing

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Integration

      In SBE it is possible for the block to know how many elements it will be decompressing before decompression. We can optimize the Collector class for this scenario. The Collector class will know its size up front and can use the operator[] to put elements in the Container instead of relying on push_back.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: