From: Bulat Ziganshin Date: 2002-09-30T14:22:39+09:00 Subject: Re: Where Is Method Call Precedence? Hello Gavin, Saturday, September 28, 2002, 5:45:05 PM, you wrote: >> Tuples are very powerful datastructures in OCaml. They are not lists and >> they are not arrays. They do, for example, make it much easier to handle >> values in parser reductions. In Ruby you would use arrays or hashes, but >> they have a much higher overhead. It would be nice with tuples in Ruby. GS> Since Ruby is close to Python is *some* ways, and Python has tuples, I cast the GS> question: "What are tuples used for in Python?". If someone answers that, then GS> I would get an idea of why I might like them in Ruby. tuple is an array with fixed size. when you have very large number of small arrays, you will save many memory bytes -- Best regards, Bulat mailto:bulatz@integ.ru