[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: naming m4_transform [was: faster AS_IF,AS_CASE]
From: |
Paolo Bonzini |
Subject: |
Re: naming m4_transform [was: faster AS_IF,AS_CASE] |
Date: |
Sat, 11 Oct 2008 17:27:17 +0200 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
> At any rate, I'm interested in documenting these macros, as well as adding
> a counterpart macro for m4_set iteration (the recent
> _AS_DETECT_BETTER_SHELL change can be sped up). It turns out that m4 is
> more efficient when you pass the list element as an argument to a macro
> invocation than it is with m4_foreach semantics of doing m4_define of the
> list element to a temporary name, then doing m4_defn of that temporary
> name to get back to the list element. I originally went with the name
> m4_transform because m4_map was taken, but maybe m4_map_each and
> m4_map_pair might make more sense?
... or m4_map_args and m4_map_args_pair?
Paolo