[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [gnugo-devel] reading problem
From: |
Arend Bayer |
Subject: |
RE: [gnugo-devel] reading problem |
Date: |
Sat, 30 Nov 2002 15:31:03 +0100 (CET) |
Nando wrote:
> > > * Comment: This is currently not a problem since no reduced depth
> > > * reading is performed.
> > > */
> > >
> > > Well, about the above comment, I would say it isn't true. There's a
> > >
> > > decrease_depth_values();
> >
> > I don't think this should lead to corrupted cache entries. We do store
> > "depth - stackp" in the cache data, and if this doesn't match, the cache
> > entry is ignored.
>
> If I'm not mistaken, this applies to the both reading caches (so, code in
> cache.ch and persistent.ch), but not for the less sophisticated one
> implemented in safe_move(), from which I quoted the FIXME/comment.
My bad, I didn't realize this was from the safe_move cache. So back to
your original question:
> How should this issue be addressed IYO ?
How about adding the remaining depth to the safe_move cache then?
Arend