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

Do not create unnecessary array in IgnoreDescriptor #2183

merged 3 commits into from Sep 10, 2018


Copy link

@TheSmartnik TheSmartnik commented Aug 7, 2018

I was investigating some memory problems in my middleman project and found this piece of code. As ignore! mutates original object, seems unnecessary to create another array with map, each will do the same thing here without extra allocation

Copy link

@tdreyno tdreyno commented Aug 12, 2018

Looks good. Will merge after we fix Travis


@tdreyno tdreyno merged commit 6db5021 into middleman:master Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants