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 the array returned by match #89

Merged
merged 1 commit into from
Nov 19, 2017
Merged

Reuse the array returned by match #89

merged 1 commit into from
Nov 19, 2017

Conversation

fehrenbach
Copy link
Contributor

Instead of basically making a copy and letting the original go out of scope immediately after.

This makes a surprisingly large performance difference in Chrome, not so much in Firefox.

Instead of basically making a copy and letting the original go out of scope immediately after.

This makes a surprisingly large performance difference in Chrome, not so much in Firefox.
@paf31 paf31 merged commit 022f932 into purescript:master Nov 19, 2017
@paf31
Copy link
Contributor

paf31 commented Nov 19, 2017

This certainly seems safe to me, thanks!

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