Indeed, fortunately these sorts of sub-optimal code are rarely a significant problem in a game without real time events.