On 4/19/06, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
>
> On 19.04.2006, at 21:18, Stephen Deasey wrote:
>
> >
> > If any one's interested in looking into thread local caches:
>
>
> So we are back to thread local caches, storing objects
> directly i.e. w/o shimmering...
> I believe this is simpler to do as thread-wide stuff as
> there is no locking involved, or?


I just didn't want to put a lot of special case code in there for the
two different cache types.  Yet at the same time, I wanted to hide the
guts of cache usage to make it easier.

If you look at the nscache module it's a real mess.  There's more code
there than the current C and Tcl implementations combined.

There's also nice to have stuff, like accurate stats which combine the
stats from the individual threads to some master stats table, for
example.

But yeah, it's certainly possible.

Reply via email to