From: "ara.t.howard" Date: 2007-10-14T08:34:27+09:00 Subject: Re: range max On Oct 12, 2007, at 10:50 PM, Brian Adkins wrote: > Are you complaining about my version of max or the built in? I can't > tell because the results are identical ;) not complaining about anything. over the years people have posted various questions and complaints about ranges: they should do this and that, etc. most/all of the posts though are based on a misconception of what ranges are: a very lightweight set of endpoints with minimal constraints on the contents and, of course, this is what makes then so generally useful in ruby. basically i feel that the ruby range is maligned and i'm making sure the limitations don't convince people that they aren't powerful. the OP, for those who haven't lost track, had complained about the performance of range.max. the thing for people still on thread to remember is simply that the impl is naive because ranges are so general and that a faster implementation would limit the usefulness of range itself, as this thread as beat to death. cheers. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama