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: Examples of RESTful Web Services for Browser Games
Answer: You would have REST services for all the moves one could make, or for the game information requests.

Something like:

POST /game/45093/move?x=3&amp;y=2

POST /game/45093/surrender

GET /game/45093/status

GET /games


etc...