Skip to content

Commit 7f6f1b8

Browse files
committed
Remove pawn tables as well, they're unused
Bench: 3865928
1 parent c7fa058 commit 7f6f1b8

File tree

5 files changed

+2
-361
lines changed

5 files changed

+2
-361
lines changed

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ PGOBENCH = ./$(EXE) bench
3737

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

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

src/evaluate.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
#include "bitboard.h"
2828
#include "evaluate.h"
29-
#include "pawns.h"
3029
#include "thread.h"
3130

3231
namespace {

src/pawns.cpp

Lines changed: 0 additions & 284 deletions
This file was deleted.

src/pawns.h

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/thread.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <vector>
2929

3030
#include "movepick.h"
31-
#include "pawns.h"
3231
#include "position.h"
3332
#include "search.h"
3433
#include "thread_win32_osx.h"
@@ -57,7 +56,6 @@ class Thread {
5756
void wait_for_search_finished();
5857
int best_move_count(Move move) const;
5958

60-
Pawns::Table pawnsTable;
6159
size_t pvIdx, pvLast;
6260
uint64_t ttHitAverage;
6361
int selDepth, nmpMinPly;

0 commit comments

Comments
 (0)