--- Paul Johnson <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 09, 2002 at 01:58:11PM -0800, Austin Hastings wrote:
> > 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?
> 
> 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,

I think you've missed the point. The original poster (Smylers) asked if
there was a benefit to only cacheing certain values, presuming the
remainder would be either trivial to compute or internally cached, or
both.

The suggestion was that a more advanced cache management strategy could
be attached, presumably changing the behavior of the
function-return-caching subsystem. 

I'm all in favor of that, but it's a new rock to turn over looking for
details.

If you're proposing that the right answer is to not cache the function,
but rather implement an internal cache, then cool - you've got a friend
in Smylersvania. 

But if not, then presumably you know something I do not know: enlighten
me, please?

=Austin

Reply via email to