Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Adventures in optimization (or: the good and bad side of being truly bored)

by revdiablo (Prior)
on Aug 02, 2003 at 19:54 UTC ( [id://280314]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Adventures in optimization (or: the good and bad side of being truly bored)
in thread Adventures in optimization (or: the good and bad side of being truly bored)

Indeed. Devel::DProf is good stuff. I was very happy with my results when using it and Benchmark to, erm, profile and benchmark my code.

As for Memoize, Limbic~Region's reply is correct. It won't really work for me in this case, because I willshould never have the case where my subroutine gets called twice with the same arguments (unless of course there's something wrong in my log and I get duplicate entries). Thanks for mentioning this though, I've been meaning to look at it for a good while now.

  • Comment on Re: Re: Re: Adventures in optimization (or: the good and bad side of being truly bored)

Replies are listed 'Best First'.
Re: Re: Re: Re: Adventures in optimization (or: the good and bad side of being truly bored)
by diotalevi (Canon) on Aug 02, 2003 at 23:22 UTC

    I just mentioned Memoize for the general case and the rest of our audience.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2024-04-24 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found