We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
If either of the arrays are 0-length, then we should return the other as is instead of unnecessarily creating a copy.
The text was updated successfully, but these errors were encountered:
Do we know if JS VMs do this already? (And why not, if not?)
Even if they don't, I think doing this could have a cost for foldMap on large structures. I'd like to see benchmarks first.
foldMap
Sorry, something went wrong.
They don't do so, as concat always shallow-copies arrays in JS by design.
concat
Can you explain a bit more about your concern with foldMap? I'm not sure what you're thinking there.
No branches or pull requests
If either of the arrays are 0-length, then we should return the other as is instead of unnecessarily creating a copy.
The text was updated successfully, but these errors were encountered: