Let’s say I’ve got an event tick that pipes immediately into a branch, and the branch is almost always routing it to nothing except for some special circumstances. Like this:
As a software engineer who usually works with more traditional languages, I’d figure a boolean evaluation is functionally free, it’ll be like single-digit nanoseconds max. As long as I don’t hit “Do Stuff For Real” I could do this ■■■■ all day and not cause a performance impact.
But my question is, am I wrong? Is there some hidden cost to a tick which “isn’t doing anything”? Or is this as cheap as it looks?