Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-976

Call through to serde implementation in Document::from_reader and Document::to_writer

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: BSON, Performance
    • Labels:

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: