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

#ruby's #flat_map is much faster than combining #map and #flatten. #1830

Merged
merged 1 commit into from
Nov 24, 2013

Conversation

fabiosegalla
Copy link
Contributor

According to http://gistflow.com/posts/578-use-flat_map-instead-of-map-flatten I modify CSVConverter.to_csv method for 3-5 % faster performance.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) when pulling 7ab1615 on fabiosegalla:master into f1d31a3 on sferik:master.

@dalpo dalpo mentioned this pull request Nov 5, 2013
caboteria added a commit that referenced this pull request Nov 24, 2013
#ruby's #flat_map is much faster than combining #map and #flatten.
@caboteria caboteria merged commit 155493b into railsadminteam:master Nov 24, 2013
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.

None yet

3 participants