+ 2
More quickly how? (parallel assignments)
Parallel assignments are quicker how? Just because it's easier to type or does it actually take less clock cycles to do all the assignments?
1 Antwort
+ 3
Andrew,
Parallel assignments take a longer amount of time to run than separate line assignments. However, parallel assignments seem to be more efficient in terms of the number of lines of code needed to complete certain actions.
I have posted a speed test created by greyblake that demonstrates this in my code section.
See Greyblake's blog for other speed tests as well.
http://greyblake.com/blog/2012/09/02/ruby-perfomance-tricks/