Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Performance, Abstraction and HOP

by BrowserUk (Pope)
on Sep 01, 2005 at 14:35 UTC ( #488390=note: print w/ replies, xml ) Need Help??


in reply to Re: Performance, Abstraction and HOP
in thread Performance, Abstraction and HOP

If Perl's function calls are slow, the right response is to try to fix the implementation, not to try to avoid function calls.

As someone with more than a passing familiarity with the internals of Perl 5, do you consider it feasible* to substantially improve the current performance of function calls?

Update: *Given the nature of the forum, perhaps practical is a better word than feasible in this context.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.


Comment on Re^2: Performance, Abstraction and HOP
Re^3: Performance, Abstraction and HOP
by Dominus (Parson) on Sep 01, 2005 at 14:44 UTC
    BrowserUk asks:
    Do you consider it feasible to substantially improve the current performance of function calls?
    Sorry, I do not have an informed opinion on that topic.

      Avoiding function calls because they are slow is an absurd response to performance problems.

      Shame. I thought you were implying that there was some non-absurd response--but I guess it's just academic hot air.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
        Said BrowserUk:
        I thought you were implying that there was some non-absurd response
        I was. But since we haven't even stipulated that function calls are slow---whatever that means---why are you suprised that I don't know how to make them fast, this week, in an instantaneous response to your demand? Whether or not Mark Dominus happens know how to do something right now has no special bearing on whether or not it would be a good thing to do.

        I guess it's just academic hot air.
        Please try to contain your disappointment next time I can't answer one of your questions. There was no reason to insult me.

      If you don't have a clue, why should you make those pointless bogus statements in the first place.

      This is not a TV show, and nobody here is running for senator.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://488390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2014-08-27 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (232 votes), past polls