[PATCH-3-5] speedup autocorrect database import ...
Michael Meeks
michael.meeks at suse.com
Tue May 1 01:34:07 PDT 2012
Large autocorrect databases cause quite some slowness on first
keystroke for people; turns out we had quite a gratuitous N^2 on load
there involving some ICU collation goodness ;-)
It's still not ideal to have a multi-second freeze, but at least it's
half the length it was ;-)
Review appreciated,
Thanks,
Michael.
On Sat, 2012-04-28 at 06:32 +0000, wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=46805
>
> --- Comment #22 from tommy27 <barta at quipo.it> 2012-04-27 23:32:34 PDT ---
> ok, I downloaded the:
> master~2012-04-27_21.25.23_LibO-Dev_3.6.0alpha0_Win_x86_install_en-US.msi
>
> and made comparative testings.
...
> 1 large autocorrect database (acor_.dat)
> time to see the white space
>
> LibO 3.5.2 --> 9 seconds
> LibOdev 3.6.0 --> 5 seconds
>
> 2 large autocorrect databases (acor_.dat ; acor_it-IT.dat)
> time to see the white space
>
> LibO 3.5.2 --> 14 seconds
> LibOdev 3.6.0 --> 9 seconds
--
michael.meeks at suse.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice
mailing list