[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 0/3] Fix variable memoization
From: |
Akim Demaille |
Subject: |
Re: [Automake-NG] [PATCH 0/3] Fix variable memoization |
Date: |
Tue, 15 May 2012 14:28:06 +0200 |
hi Stefano!
Le 15 mai 2012 à 12:44, Stefano Lattarini a écrit :
> Akim Demaille wrote:
>
>> It is my understanding that the bug prevents reassigning to a
>> variable, right? So maybe the outer variable, instead of trying
>> to memoize, could use an $(if) to branch either to evaluate-and-store
>> in *another* variable else to the value of this memo variable.
>>
>> This should prevent re-assignment, and result is the sole
>> extra cost of check whether the memo-variable was set.
>>
> Wow, you are a goldmine of good ideas :-)
:)
> I've followed your advice, and indeed your approach seems to work (not
> to mention that it offers better APIs). So I now propose to apply these
> three patches on the top of the current 'ng/master' branch.
>
> OK?
Yep, sure!
- Re: [Automake-NG] [PATCH] memoize: expose a serious bug (for GNU make < 3.83), (continued)
- Re: [Automake-NG] [PATCH] memoize: expose a serious bug (for GNU make < 3.83), Akim Demaille, 2012/05/15
- [Automake-NG] [PATCH 0/3] Fix variable memoization, Stefano Lattarini, 2012/05/15
- [Automake-NG] [PATCH 2/3] [ng] coverage: test memoize on variable with long name and long content, Stefano Lattarini, 2012/05/15
- [Automake-NG] [PATCH 1/3] [ng] memoize: expose a serious bug (affecting GNU make < 3.83), Stefano Lattarini, 2012/05/15
- [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Stefano Lattarini, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Akim Demaille, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Stefano Lattarini, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Akim Demaille, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Stefano Lattarini, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Stefano Lattarini, 2012/05/16
- Re: [Automake-NG] [PATCH 0/3] Fix variable memoization,
Akim Demaille <=
Re: [Automake-NG] [PATCH 00/11] Several changes to parallel-tests support, Bob Friesenhahn, 2012/05/09
[Automake-NG] [PATCH 0/2] Nice optimization for the parallel-tests harness, Stefano Lattarini, 2012/05/16
- [Automake-NG] [PATCH 1/2] [ng] check: memoize some internal vars (avoid useless recalculation), Stefano Lattarini, 2012/05/16
- [Automake-NG] [PATCH 2/2] [ng] perf: optimize 'am__strip_suffixes' for speed, Stefano Lattarini, 2012/05/16
- Re: [Automake-NG] [PATCH 2/2] [ng] perf: optimize 'am__strip_suffixes' for speed, Stefano Lattarini, 2012/05/16
- Re: [Automake-NG] [PATCH 2/2] [ng] perf: optimize 'am__strip_suffixes' for speed, Akim Demaille, 2012/05/21
- Re: [Automake-NG] [PATCH 2/2] [ng] perf: optimize 'am__strip_suffixes' for speed, Bob Friesenhahn, 2012/05/21
- [Automake-NG] Avoding issues with command-line length limits (was: Re: [PATCH 2/2] [ng] perf: optimize 'am__strip_suffixes' for speed), Stefano Lattarini, 2012/05/22
- Re: [Automake-NG] Avoding issues with command-line length limits (was: Re: [PATCH 2/2] [ng] perf: optimize 'am__strip_suffixes' for speed), Akim Demaille, 2012/05/30