On 2012-03-19 08:27, Lubos Lunak wrote:
That said, I myself dislike the buffer class. I doubt its preallocation is a significant requirement for good performance (especially given it's only 16 characters). I

Even in Java, it's a code smell to allocate a StringBuffer object without specifying a pre-allocation size.

Might make a good EasyHack to go through the code and change the places that allocate OUStringBuffer to give them a reasonable initial size?

Regards, Noel Grandin

Disclaimer: http://www.peralex.com/disclaimer.html


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to