SVI a9c2af8856 SVI Исправления, вендоринг hace 3 meses
..
flate a9c2af8856 SVI Исправления, вендоринг hace 3 meses
matchfinder a9c2af8856 SVI Исправления, вендоринг hace 3 meses
.gitignore c358e0bd73 SVI Переезд репы hace 3 meses
LICENSE c358e0bd73 SVI Переезд репы hace 3 meses
README.md a9c2af8856 SVI Исправления, вендоринг hace 3 meses
backward_references.go c358e0bd73 SVI Переезд репы hace 3 meses
backward_references_hq.go c358e0bd73 SVI Переезд репы hace 3 meses
bit_cost.go c358e0bd73 SVI Переезд репы hace 3 meses
bit_reader.go c358e0bd73 SVI Переезд репы hace 3 meses
bitwriter.go c358e0bd73 SVI Переезд репы hace 3 meses
block_splitter.go c358e0bd73 SVI Переезд репы hace 3 meses
block_splitter_command.go c358e0bd73 SVI Переезд репы hace 3 meses
block_splitter_distance.go c358e0bd73 SVI Переезд репы hace 3 meses
block_splitter_literal.go c358e0bd73 SVI Переезд репы hace 3 meses
brotli_bit_stream.go a9c2af8856 SVI Исправления, вендоринг hace 3 meses
cluster.go c358e0bd73 SVI Переезд репы hace 3 meses
cluster_command.go c358e0bd73 SVI Переезд репы hace 3 meses
cluster_distance.go c358e0bd73 SVI Переезд репы hace 3 meses
cluster_literal.go c358e0bd73 SVI Переезд репы hace 3 meses
command.go c358e0bd73 SVI Переезд репы hace 3 meses
compress_fragment.go c358e0bd73 SVI Переезд репы hace 3 meses
compress_fragment_two_pass.go c358e0bd73 SVI Переезд репы hace 3 meses
constants.go c358e0bd73 SVI Переезд репы hace 3 meses
context.go c358e0bd73 SVI Переезд репы hace 3 meses
decode.go c358e0bd73 SVI Переезд репы hace 3 meses
dictionary.go c358e0bd73 SVI Переезд репы hace 3 meses
dictionary_hash.go c358e0bd73 SVI Переезд репы hace 3 meses
encode.go c358e0bd73 SVI Переезд репы hace 3 meses
encoder.go a9c2af8856 SVI Исправления, вендоринг hace 3 meses
encoder_dict.go c358e0bd73 SVI Переезд репы hace 3 meses
encoder_fast.go a9c2af8856 SVI Исправления, вендоринг hace 3 meses
entropy_encode.go c358e0bd73 SVI Переезд репы hace 3 meses
entropy_encode_static.go c358e0bd73 SVI Переезд репы hace 3 meses
fast_log.go c358e0bd73 SVI Переезд репы hace 3 meses
find_match_length.go c358e0bd73 SVI Переезд репы hace 3 meses
h10.go c358e0bd73 SVI Переезд репы hace 3 meses
h5.go c358e0bd73 SVI Переезд репы hace 3 meses
h6.go c358e0bd73 SVI Переезд репы hace 3 meses
hash.go c358e0bd73 SVI Переезд репы hace 3 meses
hash_composite.go c358e0bd73 SVI Переезд репы hace 3 meses
hash_forgetful_chain.go c358e0bd73 SVI Переезд репы hace 3 meses
hash_longest_match_quickly.go c358e0bd73 SVI Переезд репы hace 3 meses
hash_rolling.go c358e0bd73 SVI Переезд репы hace 3 meses
histogram.go c358e0bd73 SVI Переезд репы hace 3 meses
http.go a9c2af8856 SVI Исправления, вендоринг hace 3 meses
huffman.go c358e0bd73 SVI Переезд репы hace 3 meses
literal_cost.go c358e0bd73 SVI Переезд репы hace 3 meses
memory.go c358e0bd73 SVI Переезд репы hace 3 meses
metablock.go c358e0bd73 SVI Переезд репы hace 3 meses
metablock_command.go a9c2af8856 SVI Исправления, вендоринг hace 3 meses
metablock_distance.go a9c2af8856 SVI Исправления, вендоринг hace 3 meses
metablock_literal.go a9c2af8856 SVI Исправления, вендоринг hace 3 meses
params.go c358e0bd73 SVI Переезд репы hace 3 meses
platform.go c358e0bd73 SVI Переезд репы hace 3 meses
prefix.go c358e0bd73 SVI Переезд репы hace 3 meses
prefix_dec.go c358e0bd73 SVI Переезд репы hace 3 meses
quality.go c358e0bd73 SVI Переезд репы hace 3 meses
reader.go c358e0bd73 SVI Переезд репы hace 3 meses
ringbuffer.go c358e0bd73 SVI Переезд репы hace 3 meses
state.go c358e0bd73 SVI Переезд репы hace 3 meses
static_dict.go c358e0bd73 SVI Переезд репы hace 3 meses
static_dict_lut.go c358e0bd73 SVI Переезд репы hace 3 meses
symbol_list.go c358e0bd73 SVI Переезд репы hace 3 meses
transform.go c358e0bd73 SVI Переезд репы hace 3 meses
utf8_util.go c358e0bd73 SVI Переезд репы hace 3 meses
util.go c358e0bd73 SVI Переезд репы hace 3 meses
write_bits.go c358e0bd73 SVI Переезд репы hace 3 meses
writer.go a9c2af8856 SVI Исправления, вендоринг hace 3 meses

README.md

This package is a brotli compressor and decompressor implemented in Go. It was translated from the reference implementation (https://github.com/google/brotli) with the c2go tool at https://github.com/andybalholm/c2go.

I am using it in production with https://github.com/andybalholm/redwood.

API documentation is found at https://pkg.go.dev/github.com/andybalholm/brotli?tab=doc.

Roadmap

I have been working on new compression algorithms (not translated from C) in the matchfinder package. You can use them with the NewWriterV2 function. Currently they give better results than the old implementation (at least for compressing my test file, Newton’s Opticks) on levels 0 to 9.

The new APIs are currently considered experimental, and are not covered by any SemVer compatibility guarantees.