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

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.