James Gray
12/23/2005 8:04:00 PM
On Dec 23, 2005, at 1:55 PM, Steve Litt wrote:
> Hi all,
>
> I read somewhere that Ruby is quite a bit faster than Python. Is
> that true? Is it true under most circumstances, or just in special
> cases?
I'm sure you could find special cases to favor either, but in general
I would expect just the opposite. Python's got quite a few clever
optimizations (as I understand it), and Ruby is known to have a few
speed issues.
> The same article also said Ruby was somewhat slower than Perl :-)
Definitely, yes. In my experience, Perl is quite a bit zippier for
many operations.
There's a reason we're all excited about YARV... ;)
James Edward Gray II