Author: Uri Blass
Date: 12:06:30 05/09/04
I see that crafty is using the following commands:
if (buffered >= SORT_BLOCK) {
BookSort(bbuffer,buffered,++files)
If I understand correctly the book of crafty is not one file but some files,
when every file is not more that SORT_BLOCK positions.
I wonder what is the reason for it.
I think that it is more simple to call booksort only one time, after I read all
the book positions into an array.
The only problem can be if the book is too big so there is not enough memory in
RAM, but I think that it is not a practical problem with the hardware that you
have.
Do you do it in order to support users with inferior hardware or to support
bigger books (that you practically not need for better results), or is there
another reason for it?
Uri
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.