Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that half plies have been removed from the engine, we can encode TT depth into an int8_t. Range is -128 to +127, so it goes still further than the previous limit of 121 plies (with ONE_PLY == 2 where depth - DEPTH_NONE was encoded as an uint8_t). No functional change. Resolved #60
- Loading branch information
e60cdca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice not to have to and and subtract DEPTH_NONE all the time. Why change from unsigned to signed though? Depth is never negative correct?
e60cdca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duh. Never mind. Clearly depth IS negative sometimes.
e60cdca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.