Boost logo

Boost :

Subject: Re: [boost] [msm] scalability
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2010-01-12 17:22:12


David Abrahams wrote:
> 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.

Yes, I'd be willing to trade that, as my SM is not running in a real
time environment, but is managing user mouse and menu management.

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk