Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60116

Fix Excessive Pointer Arithmetics in the Buffer Builder

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      There is some complexity with the pooled buffer alloc, since it does not provide a pointer eagerly. redbeard0531 hacked it in this patch and saw a noticeable performance improvement by eagerly doing the pointer arithmetics. On this patch, grow() was written to be especially friendly to how compilers like to generate code.

            Assignee:
            mohammad.dashti@mongodb.com Mohammad Dashti (Inactive)
            Reporter:
            mohammad.dashti@mongodb.com Mohammad Dashti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: