Re: Bash-specific performance by avoiding sed

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
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
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.