SVI a1a08d78c3 SVI Перемещение 1 yıl önce
..
matchfinder a1a08d78c3 SVI Перемещение 1 yıl önce
.gitignore a1a08d78c3 SVI Перемещение 1 yıl önce
LICENSE a1a08d78c3 SVI Перемещение 1 yıl önce
README.md a1a08d78c3 SVI Перемещение 1 yıl önce
backward_references.go a1a08d78c3 SVI Перемещение 1 yıl önce
backward_references_hq.go a1a08d78c3 SVI Перемещение 1 yıl önce
bit_cost.go a1a08d78c3 SVI Перемещение 1 yıl önce
bit_reader.go a1a08d78c3 SVI Перемещение 1 yıl önce
bitwriter.go a1a08d78c3 SVI Перемещение 1 yıl önce
block_splitter.go a1a08d78c3 SVI Перемещение 1 yıl önce
block_splitter_command.go a1a08d78c3 SVI Перемещение 1 yıl önce
block_splitter_distance.go a1a08d78c3 SVI Перемещение 1 yıl önce
block_splitter_literal.go a1a08d78c3 SVI Перемещение 1 yıl önce
brotli_bit_stream.go a1a08d78c3 SVI Перемещение 1 yıl önce
cluster.go a1a08d78c3 SVI Перемещение 1 yıl önce
cluster_command.go a1a08d78c3 SVI Перемещение 1 yıl önce
cluster_distance.go a1a08d78c3 SVI Перемещение 1 yıl önce
cluster_literal.go a1a08d78c3 SVI Перемещение 1 yıl önce
command.go a1a08d78c3 SVI Перемещение 1 yıl önce
compress_fragment.go a1a08d78c3 SVI Перемещение 1 yıl önce
compress_fragment_two_pass.go a1a08d78c3 SVI Перемещение 1 yıl önce
constants.go a1a08d78c3 SVI Перемещение 1 yıl önce
context.go a1a08d78c3 SVI Перемещение 1 yıl önce
decode.go a1a08d78c3 SVI Перемещение 1 yıl önce
dictionary.go a1a08d78c3 SVI Перемещение 1 yıl önce
dictionary_hash.go a1a08d78c3 SVI Перемещение 1 yıl önce
encode.go a1a08d78c3 SVI Перемещение 1 yıl önce
encoder.go a1a08d78c3 SVI Перемещение 1 yıl önce
encoder_dict.go a1a08d78c3 SVI Перемещение 1 yıl önce
entropy_encode.go a1a08d78c3 SVI Перемещение 1 yıl önce
entropy_encode_static.go a1a08d78c3 SVI Перемещение 1 yıl önce
fast_log.go a1a08d78c3 SVI Перемещение 1 yıl önce
find_match_length.go a1a08d78c3 SVI Перемещение 1 yıl önce
h10.go a1a08d78c3 SVI Перемещение 1 yıl önce
h5.go a1a08d78c3 SVI Перемещение 1 yıl önce
h6.go a1a08d78c3 SVI Перемещение 1 yıl önce
hash.go a1a08d78c3 SVI Перемещение 1 yıl önce
hash_composite.go a1a08d78c3 SVI Перемещение 1 yıl önce
hash_forgetful_chain.go a1a08d78c3 SVI Перемещение 1 yıl önce
hash_longest_match_quickly.go a1a08d78c3 SVI Перемещение 1 yıl önce
hash_rolling.go a1a08d78c3 SVI Перемещение 1 yıl önce
histogram.go a1a08d78c3 SVI Перемещение 1 yıl önce
http.go a1a08d78c3 SVI Перемещение 1 yıl önce
huffman.go a1a08d78c3 SVI Перемещение 1 yıl önce
literal_cost.go a1a08d78c3 SVI Перемещение 1 yıl önce
memory.go a1a08d78c3 SVI Перемещение 1 yıl önce
metablock.go a1a08d78c3 SVI Перемещение 1 yıl önce
metablock_command.go a1a08d78c3 SVI Перемещение 1 yıl önce
metablock_distance.go a1a08d78c3 SVI Перемещение 1 yıl önce
metablock_literal.go a1a08d78c3 SVI Перемещение 1 yıl önce
params.go a1a08d78c3 SVI Перемещение 1 yıl önce
platform.go a1a08d78c3 SVI Перемещение 1 yıl önce
prefix.go a1a08d78c3 SVI Перемещение 1 yıl önce
prefix_dec.go a1a08d78c3 SVI Перемещение 1 yıl önce
quality.go a1a08d78c3 SVI Перемещение 1 yıl önce
reader.go a1a08d78c3 SVI Перемещение 1 yıl önce
ringbuffer.go a1a08d78c3 SVI Перемещение 1 yıl önce
state.go a1a08d78c3 SVI Перемещение 1 yıl önce
static_dict.go a1a08d78c3 SVI Перемещение 1 yıl önce
static_dict_lut.go a1a08d78c3 SVI Перемещение 1 yıl önce
symbol_list.go a1a08d78c3 SVI Перемещение 1 yıl önce
transform.go a1a08d78c3 SVI Перемещение 1 yıl önce
utf8_util.go a1a08d78c3 SVI Перемещение 1 yıl önce
util.go a1a08d78c3 SVI Перемещение 1 yıl önce
write_bits.go a1a08d78c3 SVI Перемещение 1 yıl önce
writer.go a1a08d78c3 SVI Перемещение 1 yıl önce

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.