From: christopher.j.meisenzahl@... Date: 2002-11-21T21:48:47+09:00 Subject: Re: Ruby is too slow Agreed, I wouldn't attempt this kind of work in Python, Perl, or a shell script either. But by the same token, I wouldn't want to do all my text processing jobs in C or ASM. :-) Christopher J. Meisenzahl CPS, CSTE Senior Software Testing Consultant Spherion christopher.j.meisenzahl@citicorp.com > -----Original Message----- > From: bulatz [mailto:bulatz@integ.ru] > Sent: Thursday, November 21, 2002 1:33 AM > To: ruby-talk > Cc: bulatz > Subject: Re: Ruby is too slow > > > Hello MetalOne, > > Thursday, November 21, 2002, 9:14:27 AM, you wrote: > M> I like Ruby, but it needs to be significantly faster. Anybody know > M> the main reason why Ruby is so much slower in this > example. Is it the > M> handling of numbers? Is there overhead calling yield for > every pixel? > M> Is the array lookup not O(1)? > > it is because ruby interpreted language, while java and c++ > are compiled to machine code. this sort of tasks definitely > not for ruby > > -- > Best regards, > Bulat mailto:bulatz@integ.ru > > >