The array forEach() seems like an acceptable alternative. Looking at MDN [1], forEach is widely supported in browsers. Including IE 9.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach - Josh On Sat, May 7, 2016 at 4:32 PM, lizhi <s...@qq.com> wrote: > 10x slow. > maybe use the arr.forEach. > pls run this code > > https://gist.github.com/matrix3d/a9765b94ade3d626ad64d16f28deccae > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/flexjs-foreach-very-slow-tp52571p52880.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >