From: Isak Johnsson Date: 2002-11-22T22:11:46+09:00 Subject: Re: Ruby is too slow Hello Bulat! > IJ> I've read that using the Array's at function is faster than > IJ> operator [] because it doesn't support ranges. > > in this situation it's like giving a banana to man who don't eat for > 30 days :) I guess you're right, but I couldn't help trying: Changing the inner loop like this saved 10% of the execution time: image[i] = lookup.at(image.at(i)) I guess there are situations where that would matter even if it is not remotely sufficient in this case... Writing "image.at(i) = ..." gives me a parse error. Why? Isak