lijian d8d1e9afb9 更新api服务 1 gadu atpakaļ
..
matchfinder d8d1e9afb9 更新api服务 1 gadu atpakaļ
LICENSE 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
README.md d8d1e9afb9 更新api服务 1 gadu atpakaļ
backward_references.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
backward_references_hq.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
bit_cost.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
bit_reader.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
bitwriter.go d8d1e9afb9 更新api服务 1 gadu atpakaļ
block_splitter.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
block_splitter_command.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
block_splitter_distance.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
block_splitter_literal.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
brotli_bit_stream.go d8d1e9afb9 更新api服务 1 gadu atpakaļ
cluster.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
cluster_command.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
cluster_distance.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
cluster_literal.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
command.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
compress_fragment.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
compress_fragment_two_pass.go d8d1e9afb9 更新api服务 1 gadu atpakaļ
constants.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
context.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
decode.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
dictionary.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
dictionary_hash.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
encode.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
encoder.go d8d1e9afb9 更新api服务 1 gadu atpakaļ
encoder_dict.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
entropy_encode.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
entropy_encode_static.go d8d1e9afb9 更新api服务 1 gadu atpakaļ
fast_log.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
find_match_length.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
h10.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
h5.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
h6.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
hash.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
hash_composite.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
hash_forgetful_chain.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
hash_longest_match_quickly.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
hash_rolling.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
histogram.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
http.go d8d1e9afb9 更新api服务 1 gadu atpakaļ
huffman.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
literal_cost.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
memory.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
metablock.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
metablock_command.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
metablock_distance.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
metablock_literal.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
params.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
platform.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
prefix.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
prefix_dec.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
quality.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
reader.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
ringbuffer.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
state.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
static_dict.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
static_dict_lut.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
symbol_list.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
transform.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
utf8_util.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
util.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
write_bits.go 48c2e0e9f9 依赖更新为 go mod 1 gadu atpakaļ
writer.go d8d1e9afb9 更新api服务 1 gadu atpakaļ

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.