-
Notifications
You must be signed in to change notification settings - Fork 12
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
Change from Emitter to TinyEmitter to save MB #975
Comments
See also phetsims/wave-interference#399 |
Tested and pushed. Would be good for @jonathanolson to review--may be a quick one to consider and sign off. |
I just saved another 2MB by making the same change for |
Both of these look great! I'm going to assign myself to look for any more cases where this could be used. Thanks. |
Handled all the cases that seemed relevant. |
It seems wave interference can save around 2MB on the heap by converting Color.changeEmitter from Emitter to TinyEmitter.
It seems the only usage of this is in SVGGradientStop, and it is not using any Emitter-specific features. So I'll go ahead with this.
The text was updated successfully, but these errors were encountered: