Marco Costalba
821e1c7233
Micro-optimize castleRights update
...
When updating castleRights in do_move() perform only one
64bit xor with zobCastle[] instead of two.
The trick here is to define zobCastle[] keys of composite
castling rights as a xor combination of the keys of the
single castling rights, instead of 16 independent keys.
Idea from Critter although implementation is different.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com >
2012-02-19 10:04:49 +01:00
..
2012-01-14 14:22:34 +01:00
2012-01-30 19:19:47 +01:00
2012-02-13 10:07:09 +01:00
2012-02-13 09:15:55 +01:00
2011-12-31 10:46:14 +01:00
2012-01-03 19:01:47 +01:00
2012-01-01 14:46:18 +01:00
2012-02-05 14:52:01 -05:00
2012-01-12 19:37:44 +01:00
2012-02-13 09:15:55 +01:00
2011-12-30 13:52:16 +01:00
2012-01-25 07:32:31 +01:00
2012-01-25 07:32:31 +01:00
2012-01-19 00:48:53 +08:00
2012-01-27 19:41:24 +01:00
2012-01-07 00:04:08 +01:00
2011-12-30 13:52:16 +01:00
2012-01-25 07:32:31 +01:00
2012-01-23 20:30:19 +01:00
2012-01-29 10:59:50 +01:00
2012-01-29 10:59:50 +01:00
2012-01-22 00:42:59 +01:00
2012-01-24 07:12:19 +01:00
2012-01-24 07:12:19 +01:00
2012-01-29 10:59:50 +01:00
2011-12-30 13:52:16 +01:00
2012-02-19 10:04:49 +01:00
2012-02-13 09:15:55 +01:00
2011-12-30 13:52:16 +01:00
2011-12-30 13:52:16 +01:00
2012-02-18 10:57:00 +01:00
2012-01-14 14:22:34 +01:00
2012-02-18 10:57:00 +01:00
2012-02-18 10:57:00 +01:00
2012-02-04 10:41:09 +01:00
2011-12-30 13:52:16 +01:00
2012-01-27 19:49:38 +01:00
2012-01-27 19:49:38 +01:00
2012-02-18 10:16:01 +01:00
2012-01-19 00:48:53 +08:00
2012-02-04 10:41:09 +01:00
2011-12-30 13:52:16 +01:00