Files
Stockfish/src
Marco Costalba 20224a5bbf Delay costly SEE call during captures ordering in MovePicker
When ordering moves we push all captures with negative SEE values
to badCaptures[] array during the scoring phase.

This patch delays the costly SEE call up to when the move has been
picked up in pick_move_from_list(), this way we save some SEE calls
in case we get a cutoff.

It seems we have a speed gain of about 1-1.5 % in terms of nodes/sec
and profiling seems to confirm the small but real speed increase.

Idea from Pablo Vazquez on talkchess.com
http://www.talkchess.com/forum/viewtopic.php?t=29018&start=20

It would be a no functional change but actually it is not because
now sorting set is different and so std::sort(), that is not a
stable sort, does not guarantees the order of same scored moves to
remain the same as before.

After 952 games at 1+0 we are below error bar, almost equal just
6 games of difference (+2 ELO)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-07-24 14:12:33 +01:00
..
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-10 18:38:47 +01:00
2008-09-01 07:59:13 +02:00
2009-05-20 14:43:17 +02:00
2009-05-07 14:54:40 +02:00
2009-07-23 22:01:42 +01:00
2009-05-20 15:11:41 +02:00
2009-05-20 14:43:17 +02:00
2009-05-20 15:11:41 +02:00
2008-09-24 00:32:53 +02:00
2009-05-07 14:54:40 +02:00
2009-05-10 18:38:47 +01:00
2009-05-07 14:54:40 +02:00
2009-07-03 13:11:32 +01:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-07-02 06:29:14 +01:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-06-12 13:10:40 +02:00
2009-05-07 14:54:40 +02:00
2009-07-02 06:29:25 +01:00
2009-05-07 14:54:40 +02:00
2009-06-13 11:13:09 +01:00
2009-07-20 10:53:41 +01:00
2009-07-10 18:50:43 +01:00
2009-05-07 14:54:40 +02:00
2009-05-10 18:38:47 +01:00
2009-05-07 14:54:40 +02:00
2009-07-09 16:45:39 +01:00