Fix Excessive Pointer Arithmetics in the Buffer Builder

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Mohammad Dashti (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: