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

Support deserializing directly from raw BSON

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      A large portion of the time spent during an operation is deserializing the server response. Currently, the driver will first read the raw BSON to a bson::Document, and then it will deserialize that further using serde. If we could skip the intermediate step in bson::Document and go straight from the raw bytes to the final type, it could significantly improve performance.

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

              Created:
              Updated:
              Resolved: