From: Rick DeNatale Date: 2009-02-21T23:42:57+09:00 Subject: Re: while vs loop --0016362835ea970ea704636ecadf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Fri, Feb 20, 2009 at 6:02 PM, 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'? > Anything purporting to be an infinite loop which runs faster than something which is an infinite loop is, by definition NOT an infinite loop! -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale --0016362835ea970ea704636ecadf--