[PR #48] [MERGED] Add a faster but less dense compression mode. #634

Closed
opened 2026-01-29 20:46:31 +00:00 by claunia · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (1)

  • 534654d Add 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.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/48 **Author:** [@szabadka](https://github.com/szabadka) **Created:** 3/27/2015 **Status:** ✅ Merged **Merged:** 3/27/2015 **Merged by:** [@szabadka](https://github.com/szabadka) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`534654d`](https://github.com/google/brotli/commit/534654def1f7b858e6f24f895609e51e19a19580) Add a faster but less dense compression mode. ### 📊 Changes **10 files changed** (+705 additions, -292 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:46:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#634