From: Dean M. B. <mik...@gm...> - 2010-11-30 16:39:07
|
Hi Everyone, I recently remembered general advice about how to keep the compile times down with Spirit.Qi and one of the general tips was to limit the number of rules you have. The rationale was if you were writing a parser and had a lot of rule assignments, you were essentially invoking Proto's evaluation when assigning to a rule. I see that the URI code has a lot of rules (>5) which can still be reduced into a single rule. Jeroen/Glyn can you try and look at reducing the number of rules and consolidate to just one rule just to see whether it would help reduce the compile times? Thanks in advance and I hope to hear what you guys think about trying that out. I might do that on my own but getting time lately to work on cpp-netlib ironically just got really hard. -- Dean Michael Berris deanberris.com |