Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compression > #2841

Pre-process before packing a file thats 2/3 nullchars?

From "Dex" <admin@127.0.0.1>
Newsgroups comp.compression
Subject Pre-process before packing a file thats 2/3 nullchars?
Date 2015-02-05 15:59 +0800
Organization Netfront http://www.netfront.net/
Message-ID <mav7sd$73d$1@adenine.netfront.net> (permalink)

Show all headers | View raw


Im working with a custom file format that is often maybe two-thirds full of 
nullchars ... not really too many in a row (its not an "RLE thing"), but 
just lots of them scattered throughout as most of the contents are 32bit 
integer array with usually one or two bytes null per int.

Should I just leave it up to the main compression algorithm (lzma) to deal 
with those, or would it be worthwhile using a pre-processor first (and 
post-processor afterwards as it needs to be lossless), and if so what type?

Thankyou!



--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

Back to comp.compression | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Pre-process before packing a file thats 2/3 nullchars? "Dex" <admin@127.0.0.1> - 2015-02-05 15:59 +0800
  Re: Pre-process before packing a file thats 2/3 nullchars? jacko <jackokring@gmail.com> - 2015-02-07 05:18 -0800
    Re: Pre-process before packing a file thats 2/3 nullchars? "Dex" <admin@127.0.0.1> - 2015-02-08 11:13 +0800

csiph-web