[PATCH] Reduced loadtime of autocorrect tables

Dézsi Szabolcs dezsiszabi at hotmail.com
Fri Feb 24 07:52:20 PST 2012


Hello!

There was an issue with acor_* files containing lots of entries (takes forever to load in Autocorrection options). With a small modification in cui/source/tabpages/autocdlg.cxx the issue seems to be gone.
Thanks Michael Meeks!

I tested it with the attached acor_it-IT.dat file. Autocorrection worked, and it loaded all entries.
Load time before patch: ? minutes (didn't wait)
Load time after patch: 1.5-2 seconds (and i have an old comp.)

Szabolcs
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120224/4547a913/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Reduced-loadtime-of-autocorrect-tables.patch
Type: text/x-patch
Size: 1263 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120224/4547a913/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acor_it-IT.dat
Type: video/mpeg
Size: 408380 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120224/4547a913/attachment-0001.m1v>


More information about the LibreOffice mailing list