On 04/19/2013 05:04 PM, Fulvio wrote: Hi!
>> I've found scid has a limit of 16.7 million (2^24) games per database, >> is there an easy way to change this to 32bit or something? >> >> > Easy: i don't think so. > > However the code already use a 32bit uint as gameNumberT. > I looked at src/index.h: > const gameNumberT MAX_GAMES = 16777214; > // max. number of games is 2^(3*8)-1-1, > // The "2^(3*8)-1" as si4 only uses three bytes to store this integer, > > From the comment it seems that the three byte is a limit introduced > with the 4th database version of Scid. > The limit is enforced in Index::WriteHeader(): > FilePtr->WriteThreeBytes (Header.numGames); > > and it's easy to change, but will make scid incompatible with older version. Sounds like it should be changed only if one is going for some si5. Just out of shear curiosity: is 16.7e06 indeed a "real world" limit? I mean, are there larger databases of /sensible/ games? AFAIK even cb online is only at something about 6-7e06 and they already cover quite a lot of lower end games. Probably, one could accumulate a lot of games if one is ingesting all blitz games on ICC/FICS and the like but would that make any sense for a chess database? -- Kind regards, / War is Peace. | Freedom is Slavery. Alexander Wagner | Ignorance is Strength. | | Theory : G. Orwell, "1984" / In practice: USA, since 2001 ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users