CCArray: performance improvements

CCArray:

- Iterator uses position for iterator. MUCH faster.
- Do not double init the array. performance improvements in memory.

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Better default values for auto-release pool

150 is a reasonable number for auto-release pool.
By using 150, it prevents the unneeded re-alloc of the pool.

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
cocos2d in lowercase

Cocos2d -> cocos2d

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Profiling: more useful information

Prints min,max, #calls

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Adds new tests to tests

and enables profiling

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
removes unneeded spaces

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Default capacity of Array is 10

plus better documentation

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Uses high resolution clock for Profiling

and adds another average time.

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Compiles both with std::vector and ccCArray

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Fixes names in Performance Node tests

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Merge pull request #3448 from ricardoquesada/array_fixes

Array fixes