 <p>I would expect that on a current processor, the effect would be negligible at best. However, it's worth noting that processors have dedicated instructions for comparison to zero, which logically might be faster than comparison to a variable and might save a register. Thus, strictly speaking, it would be faster because the processor has an in-built special case for it.</p>