cocos2d/cocos2d-html5 — pull request #1383 by WanderWang (2013-12-27 17:38:21+00:00)
Title: Optimize CCMacro's Performance

Optimize CCMacro's Performance ,this is my performance test

http://jsperf.com/function-claim-call/2

Original cocos2d-html5 looks like test1 and my patch looks like test2 .
test3 / 4 is the best but it needs too much refactor