Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory footprint reduction opportunities #340

Closed
mikebolt opened this issue Jun 19, 2017 · 1 comment
Closed

Memory footprint reduction opportunities #340

mikebolt opened this issue Jun 19, 2017 · 1 comment

Comments

@mikebolt
Copy link
Contributor

Objects and arrays have a larger footprint than basic types, even when they are empty. For this reason, we could have a 10-20% memory footprint reduction by removing the initialization of _chainedTweens and _valuesStartRepeat. Some refactoring would be required. _chainedTweens could initially be null, then set to an array when 'chain' is called.

@trusktr
Copy link
Member

trusktr commented Jun 3, 2020

Great idea! I will merge this into #538

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

No branches or pull requests

2 participants