|
Re: Fusion-ifying proto parse trees: msg#00075parsers.spirit.devel
Hi! David Abrahams schrieb: > Among other things, this approach makes the most of the compiler's > inherent inlining depth limitations. As I understand it, the collapse of associative operators (as in Joel's example, the operator +) would allow for a parse function which calls into say 10 subparsers: //something like: void parse(T t) //support up to N subparsers { parse(t.get<0>()); parse(t.get<1>()); ... parse(t.get<N>()); } Here we relax the compiler. It can do inlining much better than in the recursive version. Any of the unused subparsers are optimized away easily, I think. Am I totally wrong here, Joel? Eric? Frank ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: segmented fusion - a-ha!: 00075, Joel de Guzman |
|---|---|
| Next by Date: | Re: Fusion-ifying proto parse trees: 00075, Eric Niebler |
| Previous by Thread: | Re: Fusion-ifying proto parse treesi: 00075, Joel de Guzman |
| Next by Thread: | Re: Fusion-ifying proto parse trees: 00075, Eric Niebler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |