[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] finishing the cache transition
From: |
Paul Pogonyshev |
Subject: |
Re: [gnugo-devel] finishing the cache transition |
Date: |
Wed, 26 May 2004 12:00:04 +0300 |
User-agent: |
KMail/1.6.52 |
Gunnar wrote:
> Remaining questions:
> 1. [...]
> 2. In board.c there is a macro
> #define USE_BOARD_CACHES (NUM_HASHVALUES <= 4)
> which is used for some conditional code. Is there any point in
> keeping this around any more?
I suppose no. It is intended to disable approxlib()/accuratelib() cache
if comparing hash values is costly. Looking at it now, I guess that
comparing 4 values is not costly at all. We can either
#define USE_BOARD_CACHES 1
or remove it completely together with non-caching code.
Paul