Richard Henderson <r...@redhat.com> writes: > On 12/10/2014 06:08 AM, Blumental Maxim wrote: >> We have ~30 groups of similar (i.e.having similar sets of attributes) >> named patterns. These groups together include ~230 template (i.e. >> having substitution attributes in their names) named patterns in >> total. So, we can reduce the amount of template named patterns by ~200 >> at best. Those template named patterns correspond to several specific >> named patterns each. E.g. in my patch (see attached patch) I merged >> two template named patterns into one and that allowed me to replace >> four builtin's with only two. > > I don't find this particularly readable or maintainable. > What do you hope to gain here?
I assume it would make the compiler faster and maybe smaller? But also users may be using the existing builtin names, so some compat macros would be needed. -Andi