Fix docs: Snappy compressor works in 64 kB blocks instead of 32 kB now

This commit is contained in:
Hsiao-Wei Wang 2020-10-13 17:58:17 +08:00
parent 7ffaf77cf4
commit 6e41fe606e
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
Snappy compressed format description Snappy compressed format description
Last revised: 2011-10-05 Last revised: 2020-10-13
This is not a formal specification, but should suffice to explain most This is not a formal specification, but should suffice to explain most
@ -76,9 +76,9 @@ yielding a form of run-length encoding (RLE). For instance,
<literal: "xab"> <copy: offset=2 length=4> <literal: "xab"> <copy: offset=2 length=4>
Note that since the current Snappy compressor works in 32 kB Note that since the current Snappy compressor works in 64 kB
blocks and does not do matching across blocks, it will never produce blocks and does not do matching across blocks, it will never produce
a bitstream with offsets larger than about 32768. However, the a bitstream with offsets larger than about 65536. However, the
decompressor should not rely on this, as it may change in the future. decompressor should not rely on this, as it may change in the future.
There are several different kinds of copy elements, depending on There are several different kinds of copy elements, depending on