About Strings

Noel Grandin noelgrandin at gmail.com
Mon Mar 19 08:15:32 PDT 2012

On Mon, Mar 19, 2012 at 14:46, Stephan Bergmann <sbergman at redhat.com> wrote:
> On 03/19/2012 07:30 AM, Noel Grandin wrote:
>> Might make a good EasyHack to go through the code and change the places
>> that allocate OUStringBuffer to give them a reasonable initial size?
> around, it is often not easy to write an expression for initial
> rtl::OUStringBuffer capacity that is both reasonably short and correct
> also does not cause warnings when compiled on any platform.

Wouldn't need to be perfect, just reduce re-allocations somewhat.
But maybe not worth the effort.

More information about the LibreOffice mailing list