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

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.