well-goknown/vendor/github.com/andybalholm/brotli
2024-10-12 16:50:18 -04:00
..
matchfinder updates 2024-10-12 16:50:18 -04:00
backward_references.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
backward_references_hq.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
bit_cost.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
bit_reader.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
bitwriter.go update policies 2024-09-25 21:59:44 -04:00
block_splitter.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
block_splitter_command.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
block_splitter_distance.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
block_splitter_literal.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
brotli_bit_stream.go update policies 2024-09-25 21:59:44 -04:00
cluster.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
cluster_command.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
cluster_distance.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
cluster_literal.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
command.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
compress_fragment.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
compress_fragment_two_pass.go update policies 2024-09-25 21:59:44 -04:00
constants.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
context.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
decode.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
dictionary.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
dictionary_hash.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
encode.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
encoder.go updates 2024-10-12 16:50:18 -04:00
encoder_dict.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
entropy_encode.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
entropy_encode_static.go update policies 2024-09-25 21:59:44 -04:00
fast_log.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
find_match_length.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
h5.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
h6.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
h10.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
hash.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
hash_composite.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
hash_forgetful_chain.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
hash_longest_match_quickly.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
hash_rolling.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
histogram.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
http.go update policies 2024-09-25 21:59:44 -04:00
huffman.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
LICENSE replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
literal_cost.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
memory.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
metablock.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
metablock_command.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
metablock_distance.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
metablock_literal.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
params.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
platform.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
prefix.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
prefix_dec.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
quality.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
reader.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
README.md update policies 2024-09-25 21:59:44 -04:00
ringbuffer.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
state.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
static_dict.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
static_dict_lut.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
symbol_list.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
transform.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
utf8_util.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
util.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
write_bits.go replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
writer.go update policies 2024-09-25 21:59:44 -04:00

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, Newtons 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.