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

Inline alterF #661

Open
treeowl opened this issue Jul 8, 2019 · 1 comment
Open

Inline alterF #661

treeowl opened this issue Jul 8, 2019 · 1 comment

Comments

@treeowl
Copy link
Contributor

treeowl commented Jul 8, 2019

I think we're probably wasting a significant amount of allocation by failing to inline alterF for Map. We end up allocating loads of Justs when we usually shouldn't need to.

@treeowl
Copy link
Contributor Author

treeowl commented Jul 8, 2019

The same is likely true for mapMaybeWithKey, traverseMaybeWithKey, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants