Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bzip2 chess databases

Author: Dave Gomboc

Date: 21:55:13 02/11/02

Go up one level in this thread


On February 12, 2002 at 00:16:08, Ratko V Tomic wrote:

>> It might be nice to submit your improvements back to the open
>> source project.
>
>The 'improvements' were unfortunately very task & platform
>specific (to move fast the screen BMP graphics between Windows
>machines via TCP). I just separated the runlengths from the
>bulk data (and compressed those separetly), then re-indexed
>and resorted colors (to fit as many as possible into the one
>byte codes, plus Esc code for the sparser ones). I also hacked
>some of bzip2's generic C into inline asm (for VC6).
>It all helped the particular task great deal (had screen
>graphics compressing down to almost half of the gzip/zlib
>version at nearly the same compression speed), but it is
>all still an ugly looking hack whipped in a hurry. The
>bzip's main sorting code has a lousy fallback algorithm,
>that is something I was looking at improving (but didn't
>have time to experiment with for the project). If I get
>to it for the next rev of the code, I will submit it.

I think they have improved the fallback algorithm since then...?

Dave



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.