Skip to content

Commit

Permalink
Remove pawn tables as well, they're unused
Browse files Browse the repository at this point in the history
Bench: 3865928
  • Loading branch information
Fanael committed Mar 7, 2021
1 parent c7fa058 commit 7f6f1b8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 361 deletions.
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ PGOBENCH = ./$(EXE) bench

### Source and object files
SRCS = benchmark.cpp bitboard.cpp evaluate.cpp main.cpp misc.cpp movegen.cpp \
movepick.cpp pawns.cpp position.cpp search.cpp thread.cpp timeman.cpp \
tt.cpp uci.cpp ucioption.cpp tune.cpp syzygy/tbprobe.cpp
movepick.cpp position.cpp search.cpp thread.cpp timeman.cpp tt.cpp \
uci.cpp ucioption.cpp tune.cpp syzygy/tbprobe.cpp

OBJS = $(notdir $(SRCS:.cpp=.o))

Expand Down
1 change: 0 additions & 1 deletion src/evaluate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include "bitboard.h"
#include "evaluate.h"
#include "pawns.h"
#include "thread.h"

namespace {
Expand Down
284 changes: 0 additions & 284 deletions src/pawns.cpp

This file was deleted.

72 changes: 0 additions & 72 deletions src/pawns.h

This file was deleted.

2 changes: 0 additions & 2 deletions src/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <vector>

#include "movepick.h"
#include "pawns.h"
#include "position.h"
#include "search.h"
#include "thread_win32_osx.h"
Expand Down Expand Up @@ -57,7 +56,6 @@ class Thread {
void wait_for_search_finished();
int best_move_count(Move move) const;

Pawns::Table pawnsTable;
size_t pvIdx, pvLast;
uint64_t ttHitAverage;
int selDepth, nmpMinPly;
Expand Down

0 comments on commit 7f6f1b8

Please sign in to comment.