On Mon, Dec 09, 2002 at 01:58:11PM -0800, Austin Hastings wrote: > > --- Adam Turoff <[EMAIL PROTECTED]> wrote: > > On Mon, Dec 09, 2002 at 08:36:20PM -0000, Smylers wrote: > > > Anybody else like this, or are we better off leaving things as they > > > were? > > > > I think you're trying to overoptimize something here. I can't see > > a benefit to caching only sometimes. If there is, then you probably > > want to implement a more sophisticated cache management strategy > > for your sub, not warp the language for a special case. > > Ahh. This is better. How does one implement a more sophisticated cache > management strategy? > > That is, what is the mechanism for manipulating the run-time system > behavior of subs? > > sub days_in_month is cached(&other_cache_function) ? > > Or what?
How about the same way as one would do it now? Presumably we won't all forget how to program when Perl 6 comes out. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net