weltyc / ntest

NTest othello program
27 stars 12 forks source link

Simplify pattern set processing and evaluation - move from a black/white evaluation to a mover/empty one. #14

Closed vladpetric closed 10 years ago

vladpetric commented 10 years ago

I've also made some minor fixes to randomEvalGen.

BTW, there's no noticeable speed benefit. I mean, you're absolutely right that reducing the data size can reduce cache misses. "Problem" is that there weren't many cache misses to begin with.

In any case, it's worth it to simplify the code a little bit, and also to reduce the memory consumption slightly.

Also, I should say thank you for insisting on the evaluator test. It was remarkably helpful :).