[Top][All Lists]

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


From: Stepan Kasal
Subject: Re: _AS_DETECT_BETTER_SHELL speedup
Date: Tue, 1 Feb 2005 16:46:00 +0100
User-agent: Mutt/1.4.1i


On Mon, Jan 31, 2005 at 01:47:38AM -0800, Noah Misch wrote:
> > But yes, this proves that "{ ...; }" has no advantage over "(exec ...)".
> Cygwin /bin/sh executes the former construct in 1/3 the time of the latter.
> Most Cygwin systems have a /bin/bash. [...]

I meant "{ ...; } 2>/dev/null" and "(exec ...) 2>/dev/null", of course.

How is it possible that there is so big difference.  Both should mean one
fork with bash.  Is it that Cygwin bash doesn't fork with the former construct?

Could you please verify this?

And if there is indeed a difference, could you please measure the overall
speedup with the patch I mailed to the address@hidden list?

Have a nice day,
        Stepan Kasal

reply via email to

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