From: Ted Flethuseo Date: 2010-10-30T06:28:27+09:00 Subject: Is this an effective loop I was wondering if a loop of this sort would be effective in ruby for a large number of elements for i in 1..layers[0].count-1 puts i end Is it equivalent in efficiency to this? int i = 1 while i < layers[0].count-1 puts i i+=1 end -- Posted via http://www.ruby-forum.com/.