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

--- Comment #31 from tommy27 <ba...@quipo.it> 2012-09-22 13:56:49 UTC ---
(In reply to comment #29)
> snip
> 
> The biggest delay left for me now is when you click OK - on this action all 
> the
> entries are synchronized and written into autocorr file and this takes too 
> long
> IMHO. I will try to improve this.

from tests I've done on master LibO 3.7.x with your fix, it seems that the
"click OK" delay lenght depends upon 2 factors:

1- size of the autocorrect database
2- alphabetical position of the newly added entry

which means that it takes longer to save new entries in larger databases, and
it takes longer to save a "Z" entry rather than an "A" entry.

adding a "A" entry to the replacement table takes:
-  8 seconds in a  55K acor.dat file
- 22 seconds in a 119K acor.dat file

adding a "Z" entry instead takes:
- 1 minute  and 40 seconds in a  55K acor.dat file
- 6 minutes and 10 seconds in a 119K acor.dat file

tests were performed on Windows Vista 64bit, Intel Centrino 2, 2.27 GHz, 4GB
RAM).

so it seems to me that most of the time is used/wasted resorting in
alphabetical order the whole autocorrect database.

on the other hand adding a new autocorrect entry from "mouse right click
suggestions" is extremely fast (1 or 2 seconds; maybe slightly slower when
adding to a 119K database rather than a 55K database).

I have a theory about this different behaviour between "mouse" and "replacement
table" autocorrect methods but I need to do another test to confirm it or
not.... stey tuned... more to come...


> Can you try again and can you put your "merged" autocorr file somewhere so I
> can test with 100.000+ entries. 
> 
> Regards, Tomaž

did you see my upload?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to