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

Rename Document::size() to Document::computeSize

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Fully Compatible
    • Query 2020-02-24

      Document::size() takes linear time. Most people (including me) expect a size() function to be constant time. We should rename this method.

       

            Assignee:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: