Replies: 2 comments
-
Hi, the move struct is 4 bytes not 40+. It stores two ushort values, and the various properties such as start square, target square and so on are calculated from those when you access them. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah indeed, my bad. I must've been tired because I didn't process the const keyword for the Move masks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if those of you that are using a transposition table store the entire Move struct as the best move in a position, as it takes up quite a bit (40+ bytes) of memory, or if you for instance only store the move starting and ending square? I think when using only those (2 bytes total), it should be possible to compare them versus the possible moves in our current state so that we explore the PV first. Please share your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions