Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5428

Prevent costly reallocations to improve performance

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15.0
    • Component/s: Delphi - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      There are a few places that suffer unnecessarily from frequently allocated and re-allocated buffers. While some should be static at all, some others could be improved by preallocating a suitable size from the beginning, preventing form lots of quasi-"bytewise" reallocations for small buffers.

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              jensg Jens Geyer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: