Sometimes i’m like to use CCAnimate action, so when i get free time i’ve looked at
CCAnimate::update and noticed that it use
count() method of mutable array, which very ugly from my point of view (iterate over all elements of vector to count them? kill me please).
Since i can’t fully understand logic of man who write CCMutableArray code, i wan’t discuss this pullrequest https://github.com/cocos2d/cocos2d-x/pull/480 . I think that code must be rewritten this way. If there are reasons which make it unpossible, please write here, and we discuss what can be changed to reach sufficient performance for