Explore storing the element size and/or type in BSONElement

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Programmability 2026-02-02, Programmability 2026-03-02, Programmability 2023-03-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Many operations need the type or the size of the element. Computing those values repetitively on each operations that needs them is slow, and we think finding a way to cache it could be the source of a noticeable performance gain.

            Assignee:
            Guillaume Racicot
            Reporter:
            Guillaume Racicot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: