Speedup BSONElement construction and iteration

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

              Assignee:
              Geert Bosch
              Reporter:
              Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: