
On 5/30/13 8:27 PM, Mathias Gaunard wrote:
On 29/05/13 17:48, Michael Caisse wrote:
On 05/29/2013 05:32 AM, Mathias Gaunard wrote:
Spirit is slow to compile and isn't very efficient at runtime, but it's fairly nice to use once you get used to it.
Mathias,
"isn't very efficient at runtime" ... are you concerned about the processing speed, or something else?
I'm concerned by the massive copying of attributes going on. Building a deep AST will result in a huge number of copies.
FWIW, Spirit is faster than ANTLR. People report Spirit to be 2.5 to 7 times faster than ANTLR. http://article.gmane.org/gmane.comp.parsers.spirit.general/16459/match=boost... http://article.gmane.org/gmane.comp.parsers.spirit.general/16463/match=spiri... Regards, -- Joel de Guzman http://www.ciere.com http://boost-spirit.com http://www.cycfi.com/