We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
SmartPointer: Test performance by using STL + RCPtr in Node.h
SmartPointer: Test performance by using STL + RCPtr in Node.h
Refactor #2526 [Closed]
Started patch in this branch:
https://github.com/ricardoquesada/cocos2d-x/tree/carray\_with\_std\_vector
Not finished yet.
Pull request:
https://github.com/cocos2d/cocos2d-x/pull/3440
New branch:
https://github.com/ricardoquesada/cocos2d-x/tree/better\_array
Status: | Closed | |
---|---|---|
Start date: | 2013-08-13 | |
Priority: | High | |
Due date: | ||
Assignee: | ricardo | |
% Done: | 100% |
|
Category: | - | |
Target version: | 3.0-alpha0 |
Before migrating to a 100% smart pointer API we need to test the performance in real games.
One way to test STL + smart pointer performance is by replacing
CCArray
with STL container +RCPtr
Another way, probably easier to to write replace
CCArray
withstd::vector
… probably easier.