Assuming they run for the same number of loops, the performance should be effectively identical. They perform basically the same function, they just use different criteria for when they should stop.
Assuming they run for the same number of loops, the performance should be effectively identical. They perform basically the same function, they just use different criteria for when they should stop.