Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: cache question

Author: Michael Henderson

Date: 12:23:44 10/16/04

Go up one level in this thread


On October 16, 2004 at 08:43:18, Jan K. wrote:

>Hi, 2 questions:
>
>1)about static evaluation cache:do you use it? why not? how big and what hit
>rate do you get? does it mean some significant speedup for your engine? do you
>use some special replacement strategies for SE cache?
>
>2)about SEE:in my engine when calling see, i have to generate all attacks to the
>given square first, then i do something like for example crafty.... attacks
>generation as well as working with some arrays of variables is very slow
>here...therefore i would like to use some cache here too, but i can't think of
>anything that could give some nice %hit rate. Could someone help or say 'it's
>nonsense to cache see'?

#2 seems interesting, but to get the info necessary for lookup you would have to
know every piece/capture order involved in the capture -- That's already
expensive.  Calculating the SEE score from the predicted series of captures
costs near 0.  Also keep in mind that most captures sequences involve 1-2
captures, so it's not slow compared to other methods.

Michael



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.