Here is the 1000.000 loop example , you will also say that the 20% -80% difference in cpu usage
—
You are doing it wrong.. There is no point in checking cpuutilization one million times inside of the loop, because the loop is done in one tick (however long). And cpuutilization will return the CPU load for the previous second, that was before the loop.
Here is the more correct way (both events run on every tick):
I'm getting maybe 2-5% lower CPU utilization with choose(). Yes, it's a bit more efficient, but only if you need to use it hundreds of thousands times every second. Definitely not worth worrying about if you need to spawn just one explosion.