Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: General efficiency question

Author: Pham Minh Tri

Date: 18:43:43 04/22/02

Go up one level in this thread


On April 22, 2002 at 05:51:23, Uri Blass wrote:

>On April 22, 2002 at 03:08:28, maria clara benedicto wrote:
>
>>gosh!
>>
>>gnu chess nnot weak program
>
>
>Gnu chess is a weak program like most of the chess programs.
>
>Programs that are not clearly stronger than gnuchess may earn more rating from
>better search techniques or better evaluation and they do not need to care about
>the optimizations that were discussed.
>
>The only optimization that may be important is optimization of the algorithm.
>
>I started with a move generator of legal moves.

Uri, your way to start seems not be good for beginners to follow :)
You wasted too much time for the third or fourth important functions.


>
>The first version was very slow because I generated attack tables for all the
>board without memory of the previous tables.
>
>Only after working about it and making it about 100 times faster I started to
>work on a chess program.
>
>I believe that it is still possible to improve the speed of my move generator
>but today I do not care about a possible factor of 2(it is only a guess and I do
>not know the right factor that can be achieved by assembler tricks+improving the
>algorithm) and there are more important things to do.
>
>I have a lot to improve before thinking of optimization of global variable or
>assembler.
>
>Uri



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.