[GSOC] about:config utility - Weekly Report #6

Thorsten Behrens thb at documentfoundation.org
Mon Jul 29 09:27:07 PDT 2013


Efe Gürkan YALAMAN wrote:
> -Will improve the performance. There is something I recognized. Without
> adding values to the listbox the traverse tooks about 3 seconds. Current
> entry insertion is on recursion. Extracting this out of recursion may solve
> the problem mostly.
>
Good catch, it is indeed the darn TreeList that is pathetically
inefficient here. Maybe worth thinking of populating it dynamically
when the users scrools. Attached patch at least shifts the moment when
all the time is spent to the SetUpdateMode(true) call site. ;)

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 962 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130729/92300796/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130729/92300796/attachment.pgp>


More information about the LibreOffice mailing list