Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Inline subs?by Limbic~Region (Chancellor) |
on May 02, 2003 at 01:19 UTC ( [id://254868]=note: print w/replies, xml ) | Need Help?? |
broquaint,
Memoize was also mentioned in the CB, but would not help for my case: Do not memoize a function whose behavior depends on program state other than its own arguments, such as global variables, the time of day, or file input. These functions will not produce correct results when memoized. My millions of iterations were from file input. I will check your source filter out tomorrow to see if I can grok it - Thanks!
In Section
Seekers of Perl Wisdom
|
|