[Libreoffice-bugs] [Bug 46805] large autocorrect database make LibO freeze when start typing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 26 13:58:23 CEST 2012


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

Michael Meeks <michael.meeks at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #17 from Michael Meeks <michael.meeks at novell.com> 2012-04-26 04:58:23 PDT ---
The patch fixes the N^2 in the insert/sort - unfortunately that only saves
around 1/2 the time - the rest seems to be some diffuse wasteage of a
reasonably normal and fairly unbelievable kind (harder to fix).

This takes me down from 1200ms to load the list to 700ms or so - which should
be better. Give it some testing, and if you're happy I'll get some review /
cherry-picking action to -3-5.

Ultimately this code needs a re-write to use STL anyway so ... :-) I'd prefer
to wait for / encourage that: perhaps adding this specific instance of:

editeng/source/misc/svxacorr.cxx and it's 'SvxAutocorrWordList' to the STL
porting EasyHack might help if you'd like to dig that out.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list