How to reduce compilation time with Boost MSM

I have an authorized machine with approximately 40 transitions (including four substations). Everything worked well, but when I start to increase the number of transitions, the compilation time increases significantly (the development of a large state machine becomes hell). I tried using boost :: msm :: back :: favor_compile_time policies and compiling automata to mute translation units, but this has no effect. Does anyone have a workaround? Boost - 1.53, compiler - MSVC 2012, processor - Intel i7


Update: the best way to reduce time is to remove boost msm from the project

+4
source share
1 answer

", "

, , TU / / TU, , .

, , () TU, TU , 99% . .

( pre-processor #define s) stdafx .

+2

Source: https://habr.com/ru/post/1537491/


All Articles