Improve move sorting
authorH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 11 Apr 2018 18:35:08 +0000 (20:35 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 12 Apr 2018 07:14:25 +0000 (09:14 +0200)
commit3ef60e9b404d0ed2dd49a2b948671c89efaef904
treefc11655b757af41c5139474c956c8399c0d12bf5
parent0e5edb8b76783d04f66854b7343c42d3aa6af527
Improve move sorting

Just prepending the best move as a duplicat, an relying on a hash hit
to skip searching the later occurrence, is not satisfactory in multi-PV
mode, as moves with the same score would both output a PV. We now erase
the original move (by setting it to the invalid 0), an skip such moves
in the move loop.
dropper.c