[Top][All Lists]

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

_AS_DETECT_BETTER_SHELL speedup (was: Re: Proposed doc updates)

From: Stepan Kasal
Subject: _AS_DETECT_BETTER_SHELL speedup (was: Re: Proposed doc updates)
Date: Thu, 27 Jan 2005 17:29:08 +0100
User-agent: Mutt/1.4.1i


> >   { nonexistent; } 2>/dev/null
> > and do not output anything with it.  They do fork for the { },
> ... if the redirection is applied:
> > Most newer shells don't fork for the { }, so that gives us a speed
> > advantage when using { ...; } rather than ( ...).

This means that a slight speedup of _AS_DETECT_BETTER_SHELL is
possible; see the attaches patch.

(Maybe I have discovered something which you already had in mind...)

Paul, OK to commit the patch?

Have a nice day,

Attachment: as_detect_better_shell.patch
Description: Text document

reply via email to

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