Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
Description
There are more opportunities to avoid copying replies, beyond CDRIVER-1215. E.g., mongoc_collection_find_and_modify_with_opts copies its reply to the caller-supplied bson_t pointer. Instead it could reserve space in the caller-supplied bson_t and read the server reply directly into it without copying.