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

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.