SVI cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
..
matchfinder cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
.gitignore cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
LICENSE cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
README.md cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
backward_references.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
backward_references_hq.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
bit_cost.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
bit_reader.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
bitwriter.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
block_splitter.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
block_splitter_command.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
block_splitter_distance.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
block_splitter_literal.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
brotli_bit_stream.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
cluster.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
cluster_command.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
cluster_distance.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
cluster_literal.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
command.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
compress_fragment.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
compress_fragment_two_pass.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
constants.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
context.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
decode.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
dictionary.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
dictionary_hash.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
encode.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
encoder.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
encoder_dict.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
entropy_encode.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
entropy_encode_static.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
fast_log.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
find_match_length.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
h10.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
h5.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
h6.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
hash.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
hash_composite.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
hash_forgetful_chain.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
hash_longest_match_quickly.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
hash_rolling.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
histogram.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
http.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
huffman.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
literal_cost.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
memory.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
metablock.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
metablock_command.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
metablock_distance.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
metablock_literal.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
params.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
platform.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
prefix.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
prefix_dec.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
quality.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
reader.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
ringbuffer.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
state.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
static_dict.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
static_dict_lut.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
symbol_list.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
transform.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
utf8_util.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
util.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
write_bits.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전
writer.go cd1a140e4f SVI Вынос модуля; 100.0% 9 달 전

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 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 2 to 6.

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.