From: Dan Sugalski Date: 2002-12-18T02:05:14+09:00 Subject: Re: Speedy Ruby (was: Re: help -- persuade my boss to adopt ruby) At 1:42 AM +0900 12/18/02, Wai-Sun Chia wrote: >Dan Sugalski wrote: >>Unless you got ruby to generate the C code automatically from your >>ruby source, you're not dealing with what I was talking about. > >Nope. Mine was hand-coded. >But you'd be surprised to find out that the 80-20% rule still hold; >i.e. 80% of the time was spent in 20% of the code, so if you just >optimize the 20%, you'd see immediate significant speedups. Sure, but this thread's all dealing with speeding up ruby generally, not hand-optimizations that the app programmer can do to speed up a specific part. If you really wanted speed, it wouldn't be too surprising to see a speedup of 100x to 200x by just completely recoding in C or Fortran. (But, then, that'd be... painful in many cases :) -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai dan@sidhe.org have teddy bears and even teddy bears get drunk