Pawn Hash

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Philou
Posts: 32
Joined: Fri Dec 04, 2009 1:58 pm
Location: France

Pawn Hash

Post by Philou »

Hi :)

I just want to know if pawn hash increase speed very much :?:

Have a good day :D
Mincho Georgiev
Posts: 454
Joined: Sat Apr 04, 2009 6:44 pm
Location: Bulgaria

Re: Pawn Hash

Post by Mincho Georgiev »

Properly implemented, it's definitely worth it.
MattieShoes
Posts: 718
Joined: Fri Mar 20, 2009 8:59 pm

Re: Pawn Hash

Post by MattieShoes »

Depends on how costly your pawn evaluation is... :-)
User avatar
hgm
Posts: 27790
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Pawn Hash

Post by hgm »

That depends on how complex your pawn evaluation is. If that issimple enough, the pawn hash will only slow you down.
User avatar
Kempelen
Posts: 620
Joined: Fri Feb 08, 2008 10:44 am
Location: Madrid - Spain

Re: Pawn Hash

Post by Kempelen »

For my engine it has been a notable increase, I noticed but not measured
Fermin Serrano
Author of 'Rodin' engine
http://sites.google.com/site/clonfsp/
Aaron Becker
Posts: 292
Joined: Tue Jul 07, 2009 4:56 am

Re: Pawn Hash

Post by Aaron Becker »

I think the real advantage is that it lets you do much more expensive pawn analysis without affecting performance. For example, my engine uses an 0x88 board data structure, but I build a pawn bitboard during the pawn evaluation that comes in very handy. Without pawn hashing this would be way too expensive to be worthwhile and I'd just do something cheaper and less nice, but because of pawn hashing it has almost no overhead.