On Oct 12, 2007, at 9:25 PM, Brian Adkins wrote:

>
> 1) Range#max is mixed in from Enumerable

but #include? is not

> 2) "When used as an iterator, ranges return each value in the
> *sequence*." Pickaxe p. 597

that is true, and here it is an interval

case 0.5
   when 0 ... 1
    p true
   when 1 ... 2
    p false
end

they can act as either

> 4) "range max conversation".max == this post

the OP's question is about why the current max is slow.  the reason  
is because ranges are not always sequences.

regards.

a @ http://codeforpeople.com/
--
it is not enough to be compassionate.  you must act.
h.h. the 14th dalai lama