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: Close Popup window in Salesforce1
Answer: When you say Salesforce1, are you trying this on a real device or in emulated mode on a browser (using the /one/one.app suffix)? If there are any errors, it should show up in the console log.

Else, you should try the following

window.top.close();


or

window.self.close();