-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
I needed to generate a dataset of connect 4 positions from python. The quickest way to do so seemed to be to just call the main.cpp with subprocess. That worked alright, but was slow.
Long story short: solver.reset() triggers the transposition table to be reset. That means writing 80mb of zeros to memory. Even when you try to multi thread and run multiple solvers in parallel you won't see any speed ups, as the program is memory bandwidth bound, that had me quite confused for a few hours.
It might be prudent to remove the transposition table reset from the main, it might save somebody else some time debugging performance issues :)
Apart from this nasty trap: Great work on this solver, it really helps my current project a lot.
Metadata
Metadata
Assignees
Labels
No labels