autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH v2 0/3] limit number of cat and sed forks


From: Eric Blake
Subject: Re: [PATCH v2 0/3] limit number of cat and sed forks
Date: Wed, 2 Nov 2016 12:22:39 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 10/31/2016 12:08 PM, Paolo Bonzini wrote:
> These three patches speed up libvirt's configure script by roughly 3%,
> by avoiding repeated calls to sed (for AS_TR_SH and AS_TR_CPP, patches 1-2)
> and cat (for _AC_DEFINE_UNQUOTED, patch 3).  The AS_TR_SH and AS_TR_CPP
> computations are moved to autoconf time.  cat is replaced by printf.
> 

I'm still working on testing this (I'm trying to test against coreutils,
to see the impact in configure size - but that turned up a recent
problem in gnulib that I have to resolve first), but will get it in shortly.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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