Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3419

Use memoryview to avoid byte copies when decoding RawBSONDocument

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 4.11
    • Affects Version/s: None
    • Component/s: None
    • None

      When a RawBSONDocument lazily decodes a subdocument it makes a bytes copy and creates a new RawBSONDocument. We could use a memoryview to avoid the byte copy.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: