-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: BSON, Performance
Now that the BSON library has a raw deserializer, we can leverage it in Document::from_reader and Document::to_writer instead of maintaining a separate BSON encoding/decoding implementation. This will likely hurt performance of Document::from_reader and Document::to_writer, but those methods are a lot more niche now, so the tradeoff may be worth it.