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

Prevent costly reallocations to improve performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • Delphi - Library
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: