ParentFull threadphpnode·for of has got a lot faster recently but it's still never going to beat the performance of a normal for loop due to the semantics - each turn of the for of loop requires a new iterator object to be allocated.View on HN