Description
In mongoc_collection_find_and_modify_with_opts, we keep and modify a local reply within the function, and then copy the contents to the reply passed in as an argument. This is inefficient, instead we will just modify the reply argument.
In mongoc_collection_find_and_modify_with_opts, we keep and modify a local reply within the function, and then copy the contents to the reply passed in as an argument. This is inefficient, instead we will just modify the reply argument.