[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] SGC
|> In an SGC compressed file, this is written as:
|>
|> ;S[m1m2m3m4m5m6m7m8m9] (4 + 9 x 2 = 22 characters)
|>
|> Since this is not compatible with SGF, SmartGo uses a different
extension
|> (SGC) for such compressed files. I would encourage other authors of SGF
|> readers to support this simple compression scheme. For example, this
reduces
|> the GoGoD collection from 40696 KB to 17171 KB (42% of original size).
Not
|> only does it save megabytes on disk, it also speeds up reading large
game
|> collections.
I think it is not a good idea to invent a new file format for compressed
games and compressed game collections. Much easier for everybody to
implement, and much "cleaner", using established standards and most probably
achieving equal or better compression with much less effort for all people
who would need to support this new format is to have a "csgf" format,
compressed SGF.
Which simply is a standard ZIP file (or ZLIB or whichever widely
standardized freeware-available format).
That way, everybody can keep the old code, does not have to produce new
code, but simply put a zip/unzip stage at a few points.
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/