libtool
[Top][All Lists]
Advanced

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

Re: Bash-specific performance by avoiding sed


From: Bob Friesenhahn
Subject: Re: Bash-specific performance by avoiding sed
Date: Mon, 9 Mar 2015 14:50:03 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Mon, 9 Mar 2015, Mike Gran wrote:

Hello libtool,

I don't know if y'all saw this blogpost where a guy pushed
the sed regular expression handling into bash-specific
regular expressions when bash was available.  He claims
there's a significant performance improvement because of
reduced forking.

http://harald.hoyer.xyz/2015/03/05/libtool-getting-rid-of-180000-sed-forks/

There is an issue in the libtool bug tracker regarding this.

This solution only works with GNU bash. It would be good if volunteers could research to see if there are similar solutions which can work with other common shells (e.g. dash, ksh, zsh).

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

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