Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Jan, *,

On Thu, Jan 27, 2011 at 2:21 AM, Jan Darmochwal <jdarmochwal@gmx.de> wrote:

The attached patch makes make_installer.pl save up to 25% time on my
linux machine.

Wow - impressive :-)

So my question is: Did you just skim over the installer to identify
the part that is slow, or did you profile it yourself? And how did you
measure the improvement?

(and did you also try different variants of the regex handling, like
incorporating the
$longlist =~ s/\s*,\s*/,/g;

into the split? /\s*(,\s*)+/

I also kind of wonder why there is a hash involved instead of just
using an array to begin with - as only the keys are used anyway. Is
using a hash really faster?

(well, then again I don't think that the longlist part is what
accounts for the massive speedup - or does it?)

I'm going to do some more patching on make_installer.pl. Is it okay
to post my patches on this mailing list?

Definitely :-)

ciao
Christian

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.