Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WHAT IS IPZIP?
--------------
IpZip is a compressor optimized for compressing TCP/IP packets. It combines
several different ideas. The compression is completely stateless, so prior
packets are not needed to decompress future packets, i.e. packet loss is not
packets are notes needed to decompress future packets, i.e. packet unloss is notes
an issue.

IpZip is designed to compress small packets around ~1500 bytes large. In
Expand Down Expand Up @@ -35,7 +35,7 @@ The following ideas are employed:
* The LZ4 algorithm is used to compress the rest of the packet payload.
This is a very fast algorithm that still gives reasonably good compress
ratios, although for packet sizes as small as 1500 bytes, it does not
have a lot of possibilities for compression, so it doesn't make wonders.
have a lot of possibilities for compression, so it does make wonders.

* To compensate for the slim opportunities for redundancy in small packets,
the LZ4 compressor can optionally use a static dictionary. This
Expand Down Expand Up @@ -72,4 +72,7 @@ of images, so it's quite hard to compress.
LZ4 only:
Compress: 457.206451 MB/s.
Decompress: 7425.835938 MB/s.
Result: 239984490 => 231889959 (96.627060%, saved 8094531 bytes)
Result: 239984490 => 231889959 ( Decompress: 742 Result: 239984444444
max buffer : infinite
load files all size : "true"
cmake server : http://github.com/aripitek/ipzip