-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rather than the tree being composed of nodes which each contained a vector of edges, the tree is now constructed of only nodes, and the children of a node are stored contiguously in the tree, so that each node needs only store the index of the first child, and the number of children it has. This massively reduces allocations/frees of vectors (which were necessary to save as much memory as possible). It also allows the **exact** size of the tree to be set (which is a big deal for CCC and TCEC). Passed STC: LLR: 3.01 (-2.94,2.94) <-3.50,0.50> Total: 3520 W: 881 L: 733 D: 1906 Ptnml(0-2): 42, 370, 812, 470, 66 https://tests.montychess.org/tests/view/671e812fb12c9e78f1354e34 Passed LTC: LLR: 2.93 (-2.94,2.94) <-3.50,0.50> Total: 1608 W: 392 L: 256 D: 960 Ptnml(0-2): 8, 128, 402, 252, 14 https://tests.montychess.org/tests/view/671e8537b12c9e78f1354e3a Passed STC SMP: LLR: 3.21 (-2.94,2.94) <-3.50,0.50> Total: 1416 W: 441 L: 273 D: 702 Ptnml(0-2): 12, 106, 319, 244, 27 https://tests.montychess.org/tests/view/671e9a68b12c9e78f1354e55 Bench: 1488195
- Loading branch information
Showing
10 changed files
with
463 additions
and
598 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.