-
Type: New Feature
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
During insertion operations, a large amount of time is spent serializing the input T values to raw BSON for sending to the server. Currently, the driver will first serialize the T to a bson::Document, and then it will encode that raw BSON. If we could skip the intermediate step in bson::Document and go straight from T to BSON bytes, it could significantly improve performance.