How much overhead does SMC add to an application?
Memory: There is exactly one object for each state. These state objects are instantiated at application start. CPU: When you call a transtion method, that method calls the current state’s equivalent transition method. The state transition method performs the action method calls. Summary: Memory overhead matches the number of concrete states. CPU overhead is one subroutine call per transition. In short, overhead is negligible.