Compression test on permutations
- From: erpy <info@xxxxxxxxxxxxxxxx>
- Date: Mon, 23 Apr 2007 18:10:07 +0200
Hi all,
after some discussion in another thread, I got curious about how current "universal compressors" would perform on a very specific input.
(I hope the admin of maximumcompression.com reads this :))
Also, it would be interesting to see how a "dedicated" (i.e. built specifically for this input) compressor would perform.
You can either generate this file by your own, or you can email me and I will provide you with it. (you just need to convert it to a binary form, from the ASCII, comma separated, format I generated it in)
File description:
The file is made of 65536 bytes.
Each 256 bytes represent a pseudo-randomly ordered permutation of a byte. (i.e. of all the numbers represented by 8-bits)
So, basically you have 256 permutations of size 256-bytes each, one after the other.
Nothing can be assumed beforehand about the file - even though it's just pseudo-random, rather than truly random - but the following obvious considerations:
- Each 256 consecutive-bytes string always contains all the numbers from 0 to 255.
- There is no repeated 256-bytes string within the whole file
- There is no repeated byte within a whole 256-bytes string (permutation)
....and anything else comes to your mind about such a file.
It would be great to have feedback about this test...if it's been done before, if it's interesting...and of course, the results on the most known compressors! ;)
P.S. if anyone is willing to convert my ASCII file in Win32 binary form, I'd be grateful... It's far too much hassle to search for and compile a Lua library that handles binary files. (the binary mode in Lua is fundamentally fake... :))
Best,
E.
.
- Follow-Ups:
- Re: Compression test on permutations
- From: Josiah Carlson
- Re: Compression test on permutations
- From: Mark Adler
- Re: Compression test on permutations
- Prev by Date: Re: how to encode a raw image to jpeg 2000 using jasper?
- Next by Date: Re: Parallel gzip
- Previous by thread: Re: Parallel gzip
- Next by thread: Re: Compression test on permutations
- Index(es):
Relevant Pages
|
|