Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: to rotate or not?

Author: Brian Richardson

Date: 07:30:48 04/25/00

Go up one level in this thread


I did quite a bit of testing rotated (Crafty-style) vs non-rotated (nand path
[f][t] with occupied).  Overall movegen speed was under 10% faster non-rotated.
However, I used much slower gen_push (see TSCP) function for saving moves vs
much faster Crafty *move++ with shifts method (overall would save about 5-10% of
movegen speed).

I also combined bitmaps for bishops/queens and rooks/queens to save all the or's
during generation.  The downside is in eval I have to and rq and bq to get just
queens (and minor overhead of updating both in make/unmake).  Another price is
it may be harder to do a SEE (need to know if bishop or queen to take with LVA),
but I have not done one yet.  Since movegen is under 20%, I am comfortable
taking the lazy non-rotated way out.



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.