Fixed:
https://github.com/cocos2d/cocos2d-x/pull/4547

And I also converted some `std::for_each()` to `for()`.
Sorry it there was a misunderstanding with the performance tests.