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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Querying
    • Fully Compatible
    • Query 2020-02-24

    Description

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

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: