ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Ruby's Present and Future
Subject:   Speed
Date:   2003-12-23 16:53:32
From:   anonymous2
Response to: Speed

ruby is slower than python and perl. Not so much in latest versions, if you use it with some intelligence.
For example, even if you look at Doug's shootout you'll se stuff like this:
for i in ary

while you could just initialize the array with this stuff with Array.new {auto inc block}.

BTW, I don't really care about ruby slowness, or python's for that matter. They are "fast enough" for my needs, and the C api are just a charm if I need extension. Not that this should fit for your needs, anyway..