[sword-devel] Module compression

Sebastien Koechlin seb.sword at koocotte.org
Fri Sep 21 06:26:07 MST 2007


On Mon, Sep 10, 2007 at 12:38:42PM -0400, DM Smith wrote:
> I have updated the Wiki page on module development to be more useful.
> See: http://www.crosswire.org/wiki/index.php/DevTools:Modules

	CompressType:  	(ZIP|LZSS)

	Used to indicate how a compressed modules (zText, zCom, & zLD) is
	compressed. ZIP is the preferred format. And as of today, no compressed
	modules use LZSS. 

I have made a test on the French Darby Bible to see difference between
parameters, and LZSS give me much better compression for chapters:

No compression 
	zText:	5.8MB

Verse (2) compression
	LZSS: 5.7MB
	ZIP:  37MB !

Chapter (3) compression
	LZSS: 3.0MB
	ZIP: 3.8MB

Book (4) compression
	LZSS: 2.6MB
	ZIP: 2.0MB

-- 
Sebastien Koechlin




More information about the sword-devel mailing list