libtool-patches
[Top][All Lists]
Advanced

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

Re: address@hidden: libjava build times]


From: Albert Chin
Subject: Re: address@hidden: libjava build times]
Date: Thu, 5 May 2005 14:20:50 -0500
User-agent: Mutt/1.5.6i

On Thu, May 05, 2005 at 03:17:26PM +0200, Ralf Wildenhues wrote:
> That one still needs testing, but the idea is to kill all quadratic
> loops in the func_mode_link initialization:
> 
> Stuff like
>   compile_command="$compile_command $qarg"
> is better written as
>   $ECHO " $qarg" >&FD_COMPILE_COMMAND
>
> where FD_COMPILE_COMMAND is a m4 macro which evaluates to a file
> descriptor for the file holding the contents of compile_command.
> Same for oldobjs and a couple of other iteratively-set parameters.
> The desired value is then retrieved quickly by
> 
>   compile_command=`$SED 's/^ //' <"$compile_command_file" | $NL2SP`

Can you explain how the latter is faster? From inspection, I'd believe
the first to be faster.

-- 
albert chin (address@hidden)




reply via email to

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