Open corsonknowles opened 3 weeks ago
We would like to use the most efficient way to take an array and turn it into an array of arrays, 1 for each entry.
We would like to use .zip as it is 40-90% more efficient than .map {|id| [id]}
.zip
.map {|id| [id]}
Is your feature request related to a problem? Please describe.
We would like to use the most efficient way to take an array and turn it into an array of arrays, 1 for each entry.
Describe the solution you'd like
We would like to use
.zip
as it is 40-90% more efficient than.map {|id| [id]}