Replace RAC's Brotli Short Codec value by LZ4

RAC still supports Brotli (as a Long Codec, not a Short Codec). It's
just no longer given a dedicated Short Codec value (and therefore less
likely to be supported out-of-the-box by cmd/ractool). Brotli occupies a
similar position to Zstandard on the speed versus size frontier. LZ4
occupies a noticably different position, faster but larger.
This commit is contained in:
Nigel Tao committed 2019-09-07 11:19:10 +10:00
1 parent 4006157f9f
commit 84878498ef
4 files changed
+17 -15

No files matched your search

+4 -4
View File
@@ -22,10 +22,10 @@ Random access means that it is possible to reconstruct part of the decompressed
file, starting at a given offset into the decompressed file, without always
having to first decompress all of the preceding data.
In comparison to some other popular compression formats, all three of the Zlib,
Brotli and Zstandard specifications (RFCs 1950, 7932 and 8478) explicitly
contain the identical phrase: "the data format defined by this specification
does not attempt to allow random access to compressed data".
In comparison to some other popular compression formats, all four of the Zlib,
Brotli, LZ4 and Zstandard specifications explicitly contain the identical
phrase: "the data format defined by this specification does not attempt to
allow random access to compressed data".
See the RAC specification for more details:
https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md