-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: libmongoc, Performance
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.