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

bson_reinit() should reuse existing malloc'd buffer

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 0.92.0
    • 0.90.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: