Notes posted by cheerfulstoic
RSS feed
cheerfulstoic -
March 1, 2015
0 thanks
Not exactly like map {}.flatten
To clarify on the last comment, conceptually it’s the same, but #flat_map will perform better because there is no need to create an intermediate Array