If i try this puts (1..10).max it runs fine. If i try this puts (1..100000000).max It is extremely slow. Instead of using straight math max= 100000000-1 it uses some king of interator to find out the value of max. What is the catch here? -- Posted via http://www.ruby-forum.com/.