https://bugs.documentfoundation.org/show_bug.cgi?id=112689

Stephan Bergmann <sberg...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sberg...@redhat.com

--- Comment #9 from Stephan Bergmann <sberg...@redhat.com> ---
(In reply to Muhammet Kara from comment #2)
> Please also note that this easyhack is not meant for O(U)StringBuffer's
> inside loops.

And also note that these changes are only really beneficial if the resulting
OUString is created in one go,

  OUString s = ... + ... + ... + ...;

Replacing existing piecemeal OUStringBuffer construction with

  OUString s = ...;
  ...
  s += ...;
  ...
  s += ...;
  ...
  s += ...;

isn't that useful (and potentially has negative impacts on memory usage).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to