[Libreoffice-bugs] [Bug 109158] slower loading of a huge AutoCorrect replacement table

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 30 13:40:20 UTC 2017


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

Aron Budea <baron at caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |baron at caesar.elte.hu

--- Comment #6 from Aron Budea <baron at caesar.elte.hu> ---
My 32-bit Windows build of 46bfe17e2bceced4ceffe82ba98d8687b31d9ce8 isn't that
slow, it takes ~10s to open the dialog with the sample from the description.

However looking at profiling results I do see that performance could be
improved: when looping through entries and inserting each in
OfaAutocorrReplacePage::RefillReplaceBox(...), a couple of levels deeper in
SvTreeList::Insert(...) the SvListAction::INSERTED event is broadcasted, then
further deeper handled, which updates the view data.
Doing that per each entry seems wasteful.

Loading the XML could be faster as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170730/cfa53484/attachment.html>


More information about the Libreoffice-bugs mailing list