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

Speedup BSONElement construction and iteration

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible
    • v8.0
    • Execution Team 2024-02-19, Execution Team 2024-03-04, Execution Team 2024-03-18, Execution Team 2024-04-01, Execution Team 2024-04-15
    • 156

      BSONElement maintains too much state leading to inefficient code. Remove the totalSize member variable as that's better computed on demand. 

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: