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

--- Comment #5 from Tim Retout <[email protected]> ---
Thanks Andras, this is very useful.  There are two particularly painful places:

 - translate_idtfile, called 8 x 109 times for a total of 4106s, translating
the same eight files into 109 languages.

There's a lot of substitution going on - there are only 660 lines total in
those files, but because each language is processed independently, a lot of the
work gets repeated.  Maybe if we processed all languages together, we could
avoid that.

 - create_defaultdir_directorynames, called 109 times for a total of 2211s,
which is spending a lot of time converting names into "8+3" form.

Perl on w32 has a function Win32::GetShortPathName() for building the 8+3 form
of an *existing* path - i.e. it's meant to be the filesystem's responsibility
to generate this.  So while there is a hashref-based
"make_eight_three_conform_with_hash" (which could still be improved upon
performance-wise), I think we should ask why we're even doing this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to