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

Simplify and optimize. #65

Merged
merged 1 commit into from
Jul 13, 2020
Merged

Conversation

marcandre
Copy link
Contributor

This reduces memory allocation from 19MB to 1.9MB (when run on cop/mixin).

Main issue remains that it is called way too many times though

This reduces memory allocation from 19MB to 1.9MB (when run on cop/mixin).
Main issue remains that it is called way too many times
@bbatsov
Copy link
Contributor

bbatsov commented Jul 13, 2020

This reduces memory allocation from 19MB to 1.9MB (when run on cop/mixin).

Small change, huge impact!

@marcandre
Copy link
Contributor Author

My disappointment is that there are 3 separate anti-patterns in this code... I created the issues so we try to detect them.

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