Skip to content

Conversation

@seagullua
Copy link
Contributor

The cc.color method calls cc.isString(r) which is slow. This fix calls the new cc.Color directly. Which improves overall performance by 10% according to Google Chrome profiling.

@pandamicro pandamicro merged commit 7d0d5f4 into cocos2d:develop Jul 18, 2016
@pandamicro
Copy link
Contributor

Thanks ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants