mirror of
https://github.com/google/brotli.git
synced 2026-09-22 06:35:52 +00:00
[PR #48] [MERGED] Add a faster but less dense compression mode. #634
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/48
Author: @szabadka
Created: 3/27/2015
Status: ✅ Merged
Merged: 3/27/2015
Merged by: @szabadka
Base:
master← Head:master📝 Commits (1)
534654dAdd a faster but less dense compression mode.📊 Changes
10 files changed (+705 additions, -292 deletions)
View changed files
📝
enc/Makefile(+1 -1)📝
enc/bit_cost.h(+25 -0)📝
enc/block_splitter.cc(+12 -13)📝
enc/block_splitter.h(+5 -10)📝
enc/brotli_bit_stream.cc(+250 -0)📝
enc/brotli_bit_stream.h(+26 -0)📝
enc/encode.cc(+31 -266)📝
enc/encode.h(+6 -2)➕
enc/metablock.cc(+283 -0)➕
enc/metablock.h(+66 -0)📄 Description
The new mode can be used by setting the greedy_block_split
field of BrotliParams to true.
This commit moves all the meta-block processing code
into its own library and moves the meta-block encoding
code to brotli_bit_stream.cc from encode.cc
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.