add memory pool for positions

This commit is contained in:
2021-11-12 18:33:39 +01:00
parent 4442901b58
commit bd7d9f8551
10 changed files with 41 additions and 18 deletions

View File

@@ -167,7 +167,8 @@ int main(int ac, char**av)
debug_init(5);
piece_pool_init();
pos = pos_create();
pos_pool_init();
pos = pos_get();
if (ac == 1) {
pos_startpos(pos);
} else {