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.
>
>everything else remained the same.
>
>I went from 1140 lines per second
>to ** 1420 ** lines per second,
>about 280 lines faster,
>or about 20 percent faster.
>
>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... :)

                                        Dan

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

Reply via email to