[Libreoffice] autocorrect limits

Michael Meeks michael.meeks at suse.com
Wed Feb 1 13:37:40 PST 2012

On Wed, 2012-02-01 at 21:03 +0100, Tommy wrote:
> Hi, as far as I know, the more entries you have inside a OOo/LibO acor.dat  
> file the longer the replacement table will take to load.

	That is as expected -but- this should be an incredibly fast operation
(AFAICS), unless there is some really dumb N^2 or worse in the
implementation; and there should be no reason for that.

> actually a 36000 entries .dat file will take 4 minutes to open
> while with 60000 entries .dat file will take between 15-20 minutes to load.

	Um - this is not good ;-) It would be good to get a valgrind profile of
that, or even better just run in gdb and hit ctrl-c a lot as it is going
- that should show you what is up [ assumign you're compiled with debug
symbols ].

	Then apply a little thought, and a bit of coding & life should get much
better - surely ? I assume you've come here for hacking tips - since
this is the developers list right ? :-)

	All the best,


michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list