That's very fast, especially as it's running one thread only. What hardware do you have ? Mine only does 90-95 M leaf/sec.spirch wrote:oops, ok it was a 1 liner that I didn't spot![]()
I tried it on my computer, the test_perft() said something like 220 millions leaf per seconds
nice performance!
Note that as my raw perft code evolves into a proper chess engine, the perft() speed will decrease. For example, I've had to introduce psq[] andpiece_psq[] to calculate dynamically PSQ table totals and subtotal for pieces. It's used in the material eval and the game phase interpolation.