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

Use flat_map rather than map.flatten #149

Merged
merged 1 commit into from
Jun 16, 2015

Conversation

glittershark
Copy link
Contributor

This is a small performance and readability boost.

@le0pard
Copy link
Member

le0pard commented Jun 16, 2015

Agree - http://gistflow.com/posts/578-use-flat_map-instead-of-map-flatten @glittershark, can you add this change to CHANGELOG.md?

@glittershark
Copy link
Contributor Author

Sure! Would you rather that in a separate commit or squashed into one?

@le0pard
Copy link
Member

le0pard commented Jun 16, 2015

"squashed into one" please 👍

@glittershark
Copy link
Contributor Author

done!

le0pard added a commit that referenced this pull request Jun 16, 2015
@le0pard le0pard merged commit 2ce52af into railsware:master Jun 16, 2015
@le0pard
Copy link
Member

le0pard commented Jun 16, 2015

Thanks!

@glittershark glittershark deleted the flat-map-not-map-flatten branch June 16, 2015 13:55
This is a small performance and readability boost.
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