You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2021/09/11 12:31:03 UTC

[jira] [Closed] (THRIFT-5428) Prevent costly reallocations to improve performance

     [ https://issues.apache.org/jira/browse/THRIFT-5428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer closed THRIFT-5428.
------------------------------

> Prevent costly reallocations to improve performance
> ---------------------------------------------------
>
>                 Key: THRIFT-5428
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5428
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Delphi - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.15.0
>
>         Attachments: 0001-THRIFT-5428-Prevent-costly-reallocations-to-improve-.patch
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)