2008/2/27, Alexander Wagner <[EMAIL PROTECTED]>:
>
> Ic! Now: the search is done with or without reading data
> from the disk? I.e. does scid read in all indicees from sg3
> and si3 into memory or does it recall some of it from the
> actual files where a block may not yet have been written?


Good morning,

The index file is read into memory once for all (if I remember correctly 48
bytes used for each game). The game data (in sn3 file) is read by blocks,
every time it is needed. And I saw info about white and black players in all
3 files (si3, sn3, sg3).
I am not sure of my previous explanation, but if you encounter the problem
again, and if it is solved by closing/re-opening the base, I am nearly 100%
sure it was the explanation (because the code in sc_base_close is pretty
simple and the main thing it does is just flushing "dirty" blocks).

Pascal
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to