libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ensure $MV is set before each use [libtool--gary--1.0--patch-30]


From: Gary V. Vaughan
Subject: Re: ensure $MV is set before each use [libtool--gary--1.0--patch-30]
Date: Mon, 29 Aug 2005 11:55:13 +0100

On 29 Aug 2005, at 07:33, Ralf Wildenhues wrote:


[ BTW, could you get your mailer to do decent quote wrapping? Thanks ]



I'm at home and using Apple's crappy Mail.app. I'll upgrade to Thunderbird
(like I use at work) when I have some spare time.  Sorry about that.



* Gary V. Vaughan wrote on Mon, Aug 29, 2005 at 01:28:21AM CEST:


On 10 May 2005, at 09:53, Ralf Wildenhues wrote:


BTW, we eventually need to talk about m4 execution time, too.
bootstrapping HEAD is much slower than branch-2-0, which in turn is
much slower than branch-1-5.



I think this is mostly because they are each doing considerably more at
bootstrap time.  When the tests/demo* dirs have been migrated to
autotest HEAD will be *much* (at least an order of magnitude) faster
again.



I am NOT talking about the number of autoreconf invocations.  I am
talking about the time ONE autoreconf invocation takes.



Okay. I hadn't noticed any significant difference between HEAD and branch-2-0, but I haven't used 1.5 in what seems like years. Do you know which step is taking all the time? If it is autoconf, then either m4 or the macros we are
invoking are to blame.



Does m4 scale exponentially in the maximal encountered macro depth?



I don't believe so.  Though only a careful analysis of the code could
make certain.



Almost all the time is spent in building the list of tag decls, I
believe. I know it's at least quadratic in the number of decls, but it
may also be even higher, haven't looked at it closely.  So maybe it's
not M4 but ltsugar.m4 and parts of libtool.m4 that would need a rewrite.



Quite possibly, yes. When I get back to m4 development, I plan to add some sort of instrumenting feature to help with this kind of profiling. We can
revisit the issue then if it hasn't been addressed already.

Cheers,
    Gary.
--
Gary V. Vaughan ())_. gary@ {lilith.warpmail.net,gnu.org},address@hidden
Research Scientist   ( '/   http://www.tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/{libtool,m4}
Technical Author   `(_~)_   http://sources.redhat.com/autobook





--
Gary V. Vaughan ())_. gary@ {lilith.warpmail.net,gnu.org},address@hidden
Research Scientist   ( '/   http://www.tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/{libtool,m4}
Technical Author   `(_~)_   http://sources.redhat.com/autobook



Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]