hi list:
With more and more components using Spirit as parser generator, the generated 
code seems to be dramatically bloated.

For my case:
mapnik(trunk) on msvc9/10 generates 800MB pdb file in debug mode and 400MB in 
release mode, and compiling takes around 20 minutes with 1GB+ ram.
Any project, even just including those headers, could be blotted to 10MB binary.

Not sure if this is the only case for msvc.

I think we should place the "boost/spirit" related stuff more carefully, 
avoiding too many includes in one single unit.

Also as the release note said: Spirit offers 
BOOST_SPIRIT_NO_PREDEFINED_TERMINALS to prevent instantiations of predefined 
terminal objects which slows down compile time a lot, as a breaking change in 
Boost 1.47.0.

regards, zsj
_______________________________________________
Mapnik-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-devel

Reply via email to