Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-877

Delay serialization in replace methods until Operation::build

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.8.0
    • Affects Version/s: None
    • Component/s: Performance

      In RUST-536, the serialization for the documents to be inserted was moved into Insert::build instead of the various Collection::insert_x methods to avoid the need to clone in Insert::build. We should also do this for the replacement methods to achieve a similar performance improvement.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: