
At Wed, 09 Dec 2009 11:18:16 -0500, Jeff Flinn wrote:
For 41 transitions and 5 states, I was seeing about 30s on XCode with g++4.2.x.
Unfortunately the same code takes over 2.5 minutes on VC8. In fact so many compute resources were used that Incredibuild, our distributed build tool, was blocked from distributing any other compilation units for about 2 minutes. This forced me to revert to the TMP book's STT implementation which compiled in less than 30 seconds on both platforms, and allows Incredibuild to do it's job.
Aah! I should mention these times are for debug builds, which is a much more important measurement in an iterative/agile development environment. It's not that big of a deal if the nightly release build takes a few minutes longer. By the way I'm on XP with 4GB ram using the /3GB switch.
It might be interesting to contemplate a "fast-compile mode" that builds the same logical state machine using the same input syntax but trades away a little run time for compile time. -- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com