https://bugs.freedesktop.org/show_bug.cgi?id=58590

          Priority: medium
            Bug ID: 58590
          Assignee: [email protected]
           Summary: word-count horrible slowness ...
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.0.0.0.beta1
         Component: Libreoffice
           Product: LibreOffice

Word-count has become a dominant factor of large document load time. We are
doing some -really- odd things with i18npool's break-iterators and this results
in some epic thrash of the lower levels of the code.

All of this called synchronously from SwDoc::UpdateStat - by the status-bar
widget - which is a tad irritating. This has to happen before anything is
rendered. I wonder - assuming we're caching the results of that work - could we
not do that at idle in chunks of a few thousand paragraphs and incrementally ?

Either way I attach a couple of prototype patches to speed things up.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to