-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
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.