nette/nette — Issue #567: Switch to pre-increment?
Author: enumag
Created: 2012-02-29 09:59:58+00:00
State: open

In C++ it's faster to use pre-incrementation where possible instead of post-incrementation. I'm not sure if it's the same in PHP but it might.

http://www.tuxradar.com/practicalphp/18/1/8

If that's true, Nette should switch to pre-incrementation. For example in templates whenever incrementing the $iterations variable.