Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused Code Cleanup #4696

Closed
wants to merge 1 commit into from

Conversation

aesrentai
Copy link
Contributor

With the removal of classical evaluation, many helper functions are no longer used and thus can be removed.

No functional change.

@aesrentai aesrentai force-pushed the code_cleanup branch 2 times, most recently from 00ecbbe to 849fefb Compare July 17, 2023 21:33
@vondele
Copy link
Member

vondele commented Jul 18, 2023

There was a large overlap with #4695 maybe you can rebase on current master and see what is remaining?

@Disservin
Copy link
Member

The HashTable struct is also unused I think and was previously only used for the pawn hash table iirc.

@aesrentai
Copy link
Contributor Author

Done

@aesrentai aesrentai force-pushed the code_cleanup branch 2 times, most recently from 378f140 to f9e46c7 Compare July 18, 2023 20:06
src/bitboard.h Outdated
@@ -44,8 +44,6 @@ constexpr Bitboard FileHBB = FileABB << 7;
constexpr Bitboard Rank1BB = 0xFF;
constexpr Bitboard Rank2BB = Rank1BB << (8 * 1);
constexpr Bitboard Rank3BB = Rank1BB << (8 * 2);
constexpr Bitboard Rank4BB = Rank1BB << (8 * 3);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably keep those, it is not so logical to have a hole there.

AUTHORS Outdated
@@ -45,6 +45,7 @@ candirufish
Chess13234
Chris Cain (ceebo)
clefrks
Cody Ho
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add github handle as well.

No functional change

Signed-off-by: Cody Ho <codyho@stanford.edu>
@vondele vondele added the to be merged Will be merged shortly label Jul 19, 2023
@vondele vondele closed this in 3fe0d5c Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be merged Will be merged shortly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants