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

Add RawDocumentBuf::extend

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

      Currently the only way to extend one RawDocumentBuf with another is to iterate over the contents and individually append.  Adding a method for full-document extend would let us substantially optimize that by simply appending the underlying memory buffer and recalculating size.

            Assignee:
            Unassigned Unassigned
            Reporter:
            abraham.egnor@mongodb.com Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: