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

Don't use Document::size() to compute how much space to allocate in inclusion projections

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • Query 2019-12-30, Query 2020-01-13
    • 0

      For large-ish documents, Document::size() is more expensive than just allocating a larger buffer up front.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: