Is there any performance difference between using something like

for(int i = 0; i &lt; 10; i++) { ... }


and

for(int i = 0; i &lt; 10; ++i) { ... }


or is the compiler able to optimize in such a way that they are equally fast in the case where they are functionally equivalent?

Edit:
This was asked because I had a discussion with a co-worker about it, not because I think its a useful optimization in any practical sense. It is largely academic. 


Question: A way to limit the number of categories with `exp:channel:categories`?
Answer: The {exp:channel:categories} sadly does not have a limit parameter. GW Code Categories does have a limit parameter though (along with many other useful features when working with categories).