http://www.perlmonks.org?node_id=280575


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)

Regarding Memoize, maybe im weird but i've never found it to be particularly useful. I have never had a real (dev and toy, ok) circumstance where I can cache based on arguments alone, and splitting my function into subfuctions that can be so Memoized never seemed to me to be the right thing to do. I think caching properly requires some degree of thought and understanding of the overall process, which combined with the ease of establishing a cache in Perl I have never used Memoize in any production code.


---
demerphq

<Elian> And I do take a kind of perverse pleasure in having an OO assembly language...
  • Comment on Re: Re: Re: Adventures in optimization (or: the good and bad side of being truly bored)
  • Download Code