SVI 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
..
matchfinder 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
LICENSE 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
README.md 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
backward_references.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
backward_references_hq.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
bit_cost.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
bit_reader.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
bitwriter.go 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
block_splitter.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
block_splitter_command.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
block_splitter_distance.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
block_splitter_literal.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
brotli_bit_stream.go 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
cluster.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
cluster_command.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
cluster_distance.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
cluster_literal.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
command.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
compress_fragment.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
compress_fragment_two_pass.go 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
constants.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
context.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
decode.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
dictionary.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
dictionary_hash.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
encode.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
encoder.go 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
encoder_dict.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
entropy_encode.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
entropy_encode_static.go 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
fast_log.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
find_match_length.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
h10.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
h5.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
h6.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
hash.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
hash_composite.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
hash_forgetful_chain.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
hash_longest_match_quickly.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
hash_rolling.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
histogram.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
http.go 62881bab8e d06 Затаскивание во внутренний пакет 2 yıl önce
huffman.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
literal_cost.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
memory.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
metablock.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
metablock_command.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
metablock_distance.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
metablock_literal.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
params.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
platform.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
prefix.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
prefix_dec.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
quality.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
reader.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
ringbuffer.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
state.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
static_dict.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
static_dict_lut.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
symbol_list.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
transform.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
utf8_util.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
util.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
write_bits.go 2e62a58c57 d04 Переход к веб-морде 2 yıl önce
writer.go 62881bab8e d06 Затаскивание во внутренний пакет 2 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.