balance between memory size and speed program

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

NaltaP312
Posts: 56
Joined: Wed Oct 29, 2008 1:06 pm
Full name: Marc Paule

balance between memory size and speed program

Post by NaltaP312 »

Hi great team,

just for curiousity is there a best combinaison between memory sizing and speed program
for example between 0x88, bitboard, 8x8, 16x16 ...

Regards
yves
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: balance between memory size and speed program

Post by Daniel Shawul »

I don't really understand your question but the board representation by itself does not consume a lot. But some operations like , calculating attacks sets from bitboards, may require huge lookup tables (rotated bitboards and magic tables for example). So that could be a problem on cpus with small cache. Other than that the board representation does not dictate the size of your program much, so you can have a big program using 0x88 just as much as using bitboards.