Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-270

bson_reinit() should reuse existing malloc'd buffer

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.92.0
    • Affects Version/s: 0.90.0
    • Component/s: None
    • Labels:
      None

      To help under situations where malloc is likely, bson_reinit should simply keep the existing buffer around so we don't go through the inline/malloc transition a second time.

            Assignee:
            Unassigned Unassigned
            Reporter:
            christian.hergert@10gen.com Christian Hergert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: