Marco Costalba
|
787d358554
|
Fix compile under Ubuntu 64bit
Some missing includes.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
|
2008-11-04 20:56:30 +01:00 |
|
Marco Costalba
|
ff0d9dad2b
|
Fix a serious bug in TranspositionTable::retrieve()
Reported by Tord Romstad.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
|
2008-11-04 20:56:30 +01:00 |
|
Marco Costalba
|
5dc2312121
|
Update copyright info
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
|
2008-10-20 21:47:20 +02:00 |
|
Marco Costalba
|
a230dc1404
|
Split transposition table lookup in a separate function
This slims down the code and is a prerequisite for
future patches.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
|
2008-09-06 15:53:43 +02:00 |
|
Marco Costalba
|
c2c0ba875f
|
TranspositionTable: add first_entry() helper
An inline function to retrieve the first TT entry
given a position.
Plus usual whitespace noise.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
|
2008-09-06 12:30:07 +02:00 |
|
Marco Costalba
|
d786822b92
|
TranspositionTable: micro optimize first cycle
In the common case (>95%) tte == replace so skip
additional comparisons in this case.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
|
2008-09-06 12:21:08 +02:00 |
|
Marco Costalba
|
392360e73b
|
TranspositionTable: early skip on an empty TT entry
Instead of going for the whole 4 cycle loop early
skip if TT entry is empty.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
|
2008-09-06 12:20:28 +02:00 |
|
Marco Costalba
|
7c93b171cb
|
TranspositionTable: spaces inflate
No functional change, just a tidy up in
preparation for next patches.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
|
2008-09-06 12:19:29 +02:00 |
|
Marco Costalba
|
bb751d6c89
|
Initial import of Glaurung 2.1
|
2008-09-01 07:59:13 +02:00 |
|