Re: Patch to fix #314139 [REVISION PROPOSAL]



On Thu, 2006-06-15 at 09:32 +0200, Alexander Larsson wrote:
> your function call and its arguments, and then compare the stored values
> first in the function.

Alex, re caching implementation , I have a top level sketch in mind,
would like to hear your opinion:

1) The cache encapsulating function will be called something like
"cached_uri_info".
2) First time the function is called, there will be ofcourse no caching.
called params and results will be queued.


Now, I figured I would better have something that would act like a
cyclic queue, e.g. overwriting old values each time a cycle is
completed.

Now how long back should values be cached ? Should it go back as long as
memory allows?

Sivan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]