<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Replace chained O(U)StringBuffer::append() with operator+"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=112689">bug 112689</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>sbergman@redhat.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Replace chained O(U)StringBuffer::append() with operator+"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=112689#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Replace chained O(U)StringBuffer::append() with operator+"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=112689">bug 112689</a>
from <span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
<pre>(In reply to Muhammet Kara from <a href="show_bug.cgi?id=112689#c2">comment #2</a>)
<span class="quote">> Please also note that this easyhack is not meant for O(U)StringBuffer's
> inside loops.</span >
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).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>