p-mathur / hadoop-snappy

Automatically exported from code.google.com/p/hadoop-snappy
Apache License 2.0
0 stars 0 forks source link

Compression overhead is too small #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Snappy has a potential maximum overhead of size/6+32 according to 
http://code.google.com/p/snappy/source/browse/trunk/snappy.cc#55, while the 
current code assumes size/8+128+3, which could be too small in some 
circumstances.

Here's a patch to fix that.

Original issue reported on code.google.com by tom.e.wh...@gmail.com on 6 Jun 2011 at 6:12

Attachments: