Added faster object iteration trick

Based on the benchmarks I have done here: http://goo.gl/V66L4c