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

Reuse intermediate matrices #88

Open
davepagurek opened this issue Jun 12, 2018 · 0 comments
Open

Reuse intermediate matrices #88

davepagurek opened this issue Jun 12, 2018 · 0 comments
Labels

Comments

@davepagurek
Copy link
Member

Around once a second, we drop a frame from a Javascript garbage collection run of tens of megabytes. This pretty much entirely because we create and get rid of matrices many times per frame. So, where possible, we should store and reuse intermediate matrices (and try to avoid .create() or .fromValues() calls as much as possible!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant