From: "Hal E. Fulton" Date: 2002-12-18T02:07:02+09:00 Subject: Re: Speedy Ruby (was: Re: help -- persuade my boss to adopt ruby) ----- Original Message ----- From: "Wai-Sun Chia" To: "ruby-talk ML" Sent: Tuesday, December 17, 2002 10:42 AM Subject: Re: Speedy Ruby (was: Re: help -- persuade my boss to adopt ruby) > 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. It is worth mentioning that the 20% can be very un-intuitive. Programmers are usually very bad at guessing where the inefficiencies are in their code, which is why a profiler is a good idea. Hal