SVI d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
..
matchfinder d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
LICENSE d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
README.md d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
backward_references.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
backward_references_hq.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
bit_cost.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
bit_reader.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
bitwriter.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
block_splitter.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
block_splitter_command.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
block_splitter_distance.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
block_splitter_literal.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
brotli_bit_stream.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
cluster.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
cluster_command.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
cluster_distance.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
cluster_literal.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
command.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
compress_fragment.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
compress_fragment_two_pass.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
constants.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
context.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
decode.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
dictionary.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
dictionary_hash.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
encode.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
encoder.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
encoder_dict.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
entropy_encode.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
entropy_encode_static.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
fast_log.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
find_match_length.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
h10.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
h5.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
h6.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
hash.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
hash_composite.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
hash_forgetful_chain.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
hash_longest_match_quickly.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
hash_rolling.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
histogram.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
http.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
huffman.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
literal_cost.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
memory.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
metablock.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
metablock_command.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
metablock_distance.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
metablock_literal.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
params.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
platform.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
prefix.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
prefix_dec.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
quality.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
reader.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
ringbuffer.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
state.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
static_dict.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
static_dict_lut.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
symbol_list.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
transform.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
utf8_util.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
util.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
write_bits.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano
writer.go d3589a5b2f SVI Перенос кода; 100.0% hai 1 ano

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.