The worst case is extending the counter each time it&#x27;s changed, which is once per loop. It&#x27;s not going to be a measurable difference unless the loop is tight enough to take like 3 cycles per iteration or less.