2008/6/24 Alexander Wagner <[EMAIL PROTECTED]>:

> CentriScid_ID                   123456
>> CentriScid_Version           10
>> CentriScid_TacticPly        23
>> CentriScid_TacticSolution Nxf3 ...
>> CentriScid_OpeningBlunder 7
>> CentriScid_OpeningBlunderSideToMove black
>>
>
> This has a major disadvantage. How do I cite that game? By
> just printing out the whole block? Consider I'd want to show
> the game easily with a single tag you could do something
> like
>
>   $ scid CentriScid  -search CentriScid:12-123456
>

The CentriScid_ID tag is a key. It is sufficient to designate a game. The
version n+1 superseedes the previous one. If you use (version, Id) tuple as
a key you consider several distinct games, from a DB point of view.


>
> And IMHO the one liner is readable enough. That are my
> thoughts for the ID. (Actually, as a user you do not have to
> understand how this ID is created, but just know how to use
> it.)
>
> For the second part: this table was meant as an input file
> for a parser (yet to write) that extracts training sessions
> from the large reference db, strips off what is not needed
> and just generates the training material wished for by
> generating a suitable new scid DB. This part does not have
> to be human readable (at least this is not its main concern)
> but easily parsable. So, there was a severe
> missunderstanding here. ;)
>
>  And I strongly suggest to use PGN tags for these, if it
>> was not already the idea (sorry if I did not get it). This
>> system spares parsing time and searches should be fast
>> enough, without particular indexing.
>>
>
> Searching for additional PGN tags is terribly slow. I do
> this all the time when I add [Ref]-tags to my larger DB to
> crosscheck that I did not miss to flag the games in question
> correctly and it is plain PITA. Sorry. Just searching the DB
> takes about half an hour to come to the result list. :(
>

I was not aware of this. Do you have enough RAM related to the size of the
base ? My main concern here is that I'd like to have something easy to
implement, and to add a metadata file along with the 3 existing files is not
a piece of cake.

Pascal
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to