[Perf] fix slow scenario for x in y

dramatically speed up generating several thousand entries

before:
![screenshot 2014-09-22 21 07 27](https://cloud.githubusercontent.com/assets/1377/4366410/46e472da-42be-11e4-8c29-1fe2effec63e.png)

after:
![screenshot 2014-09-22 21 06 41](https://cloud.githubusercontent.com/assets/1377/4366413/4c7249c0-42be-11e4-9cd8-728839391e51.png)


(i don't think i trolled myself, but its possible, so someone else taking a look would be good)
someday forEach's wil be optimized correctly and I will be a happy camper :)