<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:nemeth@numbertext.org" title="László Németh <nemeth@numbertext.org>"> <span class="fn">László Németh</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - EDITING Capitalize Every Word operation slow with large file and enabled change tracking"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140731">bug 140731</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;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>santha.balazs@simonyi.bme.hu
           </td>
           <td>libreoffice-bugs@lists.freedesktop.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - EDITING Capitalize Every Word operation slow with large file and enabled change tracking"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140731#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - EDITING Capitalize Every Word operation slow with large file and enabled change tracking"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140731">bug 140731</a>
              from <span class="vcard"><a class="email" href="mailto:nemeth@numbertext.org" title="László Németh <nemeth@numbertext.org>"> <span class="fn">László Németh</span></a>
</span></b>
        <pre>Commit description:

<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - EDITING Capitalize Every Word operation slow with large file and enabled change tracking"
   href="show_bug.cgi?id=140731">tdf#140731</a>: sw transliteration: avoid too many redlines

As a workaround for the performance regression
from commit 2d3c77e9b10f20091ef338e262ba7756eb280ce9
(<a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - EDITING: Record Changes feature does not record changes to letter case with Shift+F3, 'Cycle Case', 'tOGGLE cASE' shortcuts"
   href="show_bug.cgi?id=109266">tdf#109266</a> sw change tracking: track transliteration),
switch off redlining to avoid ~freezing, if a single
transliteration could result too many (>~500) redlines.

A single transliteration creates n redlines
for n paragraphs of the selected text, except in
the case of transliterating to title case, where it
creates n redlines for n words. It's very easy
to freeze Writer, because Writer's slowing down with
n redlines is described by an O(n²) (quadratic) time
complexity. Eg. in an experiment, title casing
~660 words was 6 sec, but ~3000 words was 85 sec,
regarding to creating 660 vs 3000 redlines.

Note: this is a partial revert of commit
2d3c77e9b10f20091ef338e262ba7756eb280ce9, if the
selection contains more than 500 paragraphs (or in the
case transliterating to title case, ~500 words).</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>