automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Modernize, improve and/or extend tests `colon*.test.


From: Ralf Wildenhues
Subject: Re: [PATCH] Modernize, improve and/or extend tests `colon*.test.
Date: Sun, 8 Aug 2010 19:01:51 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Stefano Lattarini wrote on Sun, Aug 08, 2010 at 06:22:00PM CEST:
> Exactly! So:
>   foo() { foo_result=`sed ...`; }
>   foo; bar=$foo_result;
> instead of:
>   foo() { sed ...; }
>   bar=`foo`
> Where is the significant improvement?

Two forks vs. one: the latter still forks right before exec'ing sed.
Arguably, this is less important in the testsuite than it is in hot
spots in configure and libtool.

Cheers,
Ralf



reply via email to

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