At 06:40 PM 11/19/2001 -0500, Greg London wrote:
>Dan Sugalski wrote:
> >
> > At 12:15 AM 11/22/2001 -0500, Greg London wrote:
> > >I've rewritten 0.10 of Parse::Nibbler to use subroutine
> > >calls instead of method calls.
> > >
> > >So, I don't know why I didn't get the
> > >2x to 4x improvement that I was hoping for.
> >
> > Because your program is probably more than just a huge set of method calls?
> > It's got to do *something* between the dispatches... :)
>
>hm... yeah, there would be that tedious overhead
>that comes from the actual functionality of the program.
>
>bummer.
>
>well, I get 25% faster using sub calls,
>so, I think I'll have to keep it that way.

25% is nothing to sneeze at. Short of algorithmic overhauls, you're not 
likely to pick up chunks that size elsewhere.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to