From: Dan Sugalski Date: 2002-12-18T01:14:24+09:00 Subject: Re: Speedy Ruby (was: Re: help -- persuade my boss to adopt ruby) At 12:41 AM +0900 12/18/02, Wai-Sun Chia wrote: >Mark Probert wrote: >> >>Hi, Dan. >> >>At 05:59 AM 12/17/2002 +0900, Dan wrote: >> >>>Ruby execution could, with the appropriate amount of concentrated >>>programmer talent thrown at it, see speedups of an order of >>>magnitude, perhaps two in some cases. This is a *very* non-trivial >>>thing to do, > >Well, I've managed to get 80%-200% speedup by just simply running my >code via profile and rbprof and see which are the "hot" methods. > >After which I just simply rewrite them in 'C' using Ruby's excellent API. > >You don't need to have "concentrated programmer talent" to achieve this ;-) Unless you got ruby to generate the C code automatically from your ruby source, you're not dealing with what I was talking about. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai dan@sidhe.org have teddy bears and even teddy bears get drunk