autoconf-patches
[Top][All Lists]
Advanced

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

Re: unoptimized autoconf generated code


From: Eric Blake
Subject: Re: unoptimized autoconf generated code
Date: Mon, 01 Mar 2010 23:04:52 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

According to Eric Blake on 3/1/2010 5:32 PM:
>>>> Autoconf could have optimized this to
>>>>
>>>>   if eval "test \"\${$as_gl_Symbol+set}\" = set"; then
>>>>
> 
> I'm game.  But I think this patch series is a little more robust.  It
> shaves more than 1k size off of coreutils' configure.  The number of
> reduced processes is in the noise.
> 

Here's an updated version of patch 2/3 of the previous post; I realized
that ${a+b} should not be treated as a simple indirection, and added some
documentation.  Patch 1/3 and 3/3 are unchanged.

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden

Attachment: autoconf.patch259
Description: Text document

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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