From: Alex Martelli Date: 2003-09-17T02:51:55+09:00 Subject: Re: performance and style advice requested ts wrote: >>>>>> "A" == Alex Martelli writes: > > A> Oh my! I had no idea Ruby suffered under such a handicap wrt to Python > A> (that arrays had to be converted to strings to index into hashes, while > A> Python can use "tuples", its equivalent of frozen arrays, for that) -- > > svg% ruby -e 'a = {[1, 2] => 12}; p a.keys[0].class' > Array > svg% > > A> then I must definitely be very sparing in using hashes with multi-dim > A> indexes in Ruby, at least in any bottleneck. Thanks! Just the kind of > A> things I'm trying to learn > > then forget it :-) ....while remembering that some who post here may NOT be as knowledgeable as Ruby as they sound by the certainty of their assertions (just like on most other Usenet groups, of course). OK, thanks! Alex