The stupid question is the question not asked | |
PerlMonks |
Re: Re: Re: Adventures in optimization (or: the good and bad side of being truly bored)by demerphq (Chancellor) |
on Aug 04, 2003 at 06:51 UTC ( [id://280575]=note: print w/replies, xml ) | Need Help?? |
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...
In Section
Meditations
|
|