From: Robert Linder Date: 2001-11-08T05:23:45+09:00 Subject: [ruby-talk:24589] Re: Why is ruby slow (compared to perl) Hi, Here is my two cents ($.02). I seen where C is slower than Perl. It is all the the design of the code. When I move one of my programs from Python to Ruby, I took the idea , not the design. This leaded to a cleaner program. Learning code design is important to any language, and knowing what is language is can do is important to the design. ----- Original Message ----- From: "Niko Schwarz" Newsgroups: comp.lang.ruby To: "ruby-talk ML" ; Sent: Wednesday, November 07, 2001 08:21 Subject: [ruby-talk:24508] Re: Why is ruby slow (compared to perl) > Lyle Johnson wrote: > > > These benchmarks (if you still have them) might be useful for the Cygwin > > vs. MinGW vs. Visual C++ debate about the future of the Windows > > distribution of Ruby. > > Don't you expect too much. The idea was just to show some classmates that > Gauss really is faster than Cramer, so I didn't care about most issues of > benchmark creation or optimization within the code. > However, if you want to finish it yourself so that it's a neat benchmark, > feel free to download it from www.mycgiserver.com/~niko/Wolf.rb (Wolf is > the name of my math teacher). > Most of the time it spends on copying and extending arrays, so it leaves *a > lot* to optimize for a VM, and really takes advantage of a smart garbage > collection. > > hth =), > > nick > -- > Real Users know your home telephone number. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com