8 ms·
> I seriously can't understand this obsession with FSM It's the most optimal representation of the common-case (non-recursive asynchronous tasks), has the same
by duped 4y ago
> I seriously can't understand this obsession with FSM
It's the most optimal representation of the common-case (non-recursive asynchronous tasks), has the same overhead as a function call, plays very well with branch prediction, can be easily inlined by optimizers, and it's a lot easier to implement.