bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Tutor Mode/Hint question


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Tutor Mode/Hint question
Date: Fri, 10 Jan 2003 16:34:55 +0000
User-agent: Mutt/1.4i

On Fri, Jan 10, 2003 at 05:13:20PM +0100, Jim Segrave wrote

> > Cacheing?
> > 
> Ok - analyzing this match shows that 
> AnalyzeMove was called 376 times - no surprise there.
> NeuralNetEvaluate was called 8413251 times, or an average of 22375
> times/move. So a worst case from my wild guess is that you need a
> cache of perhaps 450000 entries to pretty much keep everything. 
> It looks to me from watching the memory size while analyzing with
> various cache sizes that this is on the order of 20Mb of RAM for a
> cache this size.

gnubg already does some caching (check EvaluatePositionCache), however,
it does not cache cubeful evaluations, since these doesn't pass through
EvaluatePositionCache -- except for the 0-ply cubeless evaluations the
EvaluatePositionCubeful3 uses at the leaf nodes.

I'll try writing a wrapper around EvaluatePositionCubeful3 so it uses
the cache.

Jørn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]