"for" tag optimization

Hi John,

This is a test for the optimization I made: https://gist.github.com/evgenius/9311237

On my machine it's ~30ms (optimized) vs. ~220ms (non-optimized).