For example, a compiler may choose to optimize a loop index variable by storing it in a register, or the cache may delay flushing a new value of a variable to main memory until a more opportune time.
But it is hard to realize the dual-loop instantaneous control with digital scheme, because there is delaytime of sampling and computing and lack of real-time regulation for digital control.