From: Ryan Davis Date: 2009-02-21T17:50:43+09:00 Subject: Re: while vs loop On Feb 20, 2009, at 15:02 , Louis-Philippe wrote: > mmm, Interesting to see loop being this high in the list, > but even if they all loop from 0 to X doesn't mean they can all > compared... > I'm not sure what was the initial question (!!!), but mine is about > infinite > loop implementations, > where list iterators of the .each flavour don't do. > > So *THE* fastest ruby infinite loop is 'while 1'? wrong > >> Infinity = 1 / 0.0 > => Infinity > >> (0..Infinity).each {}