Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess engine speed up tricks

Author: Dann Corbit

Date: 18:38:31 02/15/05

Go up one level in this thread


On February 15, 2005 at 12:26:36, Pallav Nawani wrote:

>Hi,
>
>My chess engine, Natwarlal is very slow, getting 350KNPS on an Athlon 1700.
>Crafty, on the other hand does an hefty 650K. What is the most important thing
>for high NPS of the engine? There are a few speedup tricks that I know, and I am
>not using them, but can anyone quantify the speedup in % provided by these,
>and/or add some  new ideas?
>
>1. Pawn hash (Natwarlal uses it, but not efficiently).
>2. King hash
>3. Eval cache
>4. Lazy eval. Natwarlal dosen't use this, but then Natwarlal's eval is very
>skimpy already!
>5. Any other trick?

By the way, by a landslide the most important 'trick' is to use a better
algorithm.

For each and every other optimization the #1 rule is:
DON'T DO IT!

The #2 rule is (for experts only):
Don't do it yet.





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.