From: Sean Russell Date: 2001-05-09T01:32:24+09:00 Subject: [ruby-talk:14871] Re: Ruby on AIX? (speed issue followup) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Je Sabato 05 Majo 2001 06:55, mi skribis: > five test runs to work out the bugs and output formatting errors. The > resulting script was smaller, and 90% faster than the original script. By the way, for people complaining about the speed of Ruby, I'd like to point out that "fast" is relative. The original shell script ran in 3.8 minutes on my Linux box. After a bit of optimizing, the Ruby version ran in 9 seconds. After refactoring a critical algorithm, the Ruby version ran in 0.7 seconds. This was with test data. The typical data set took about an hour to run in the shell script on AIX (my Linux box ran it in a little under a half hour), so the unrefactored Ruby version on AIX would reduce the run time down from 1 hour to 2.4 minutes. The refactored Ruby version in production would reduce the run time down to 11 seconds. I don't consider Ruby slow. === SER Deutsch|Esperanto|Francaise|Linux|Java|Aikido|Dirigibles|GPG === http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737 Unix is an operating system. OS/2 is half an operating system. Windows is a shell. DOS is a bootsector virus. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6+B9zP0KxygnleI8RApVmAJ4nYO14+e2yKn2JLFZ57og/ZGPZqACeMYgE rUdbyYWorvi7JAWPdnvPhPo= =a+7Q -----END PGP SIGNATURE-----