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

Implement remove({}) as Collection::truncate()

    XMLWordPrintable

    Details

      Description

      Once SERVER-15033 is completed it will be possible to implement remove({}) as a call to Collection::truncate() which is O(1) rather than O(n).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-execution Backlog - Query Execution
              Reporter:
              redbeard0531 Mathias Stearn
              Participants:
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated: