[PR #1304] [MERGED] use static init to reduce encoder library size #1886

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

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/1304
Author: @copybara-service[bot]
Created: 8/6/2025
Status: Merged
Merged: 8/6/2025
Merged by: @copybara-service[bot]

Base: masterHead: test_791595168


📝 Commits (1)

  • 29e040b use static init to reduce encoder library size

📊 Changes

8 files changed (+6176 additions, -5842 deletions)

View changed files

📝 c/enc/dictionary_hash.c (+82 -3)
📝 c/enc/dictionary_hash.h (+15 -2)
📝 c/enc/encode.c (+5 -0)
c/enc/static_dict_lut.c (+6047 -0)
📝 c/enc/static_dict_lut.h (+14 -5832)
📝 c/enc/static_init.c (+10 -0)
📝 c/enc/static_init.h (+0 -5)
📝 setup.py (+3 -0)

📄 Description

use static init to reduce encoder library size


🔄 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/1304 **Author:** [@copybara-service[bot]](https://github.com/apps/copybara-service) **Created:** 8/6/2025 **Status:** ✅ Merged **Merged:** 8/6/2025 **Merged by:** [@copybara-service[bot]](https://github.com/apps/copybara-service) **Base:** `master` ← **Head:** `test_791595168` --- ### 📝 Commits (1) - [`29e040b`](https://github.com/google/brotli/commit/29e040b8cb40fb0527eb21aad3e117cb37762598) use static init to reduce encoder library size ### 📊 Changes **8 files changed** (+6176 additions, -5842 deletions) <details> <summary>View changed files</summary> 📝 `c/enc/dictionary_hash.c` (+82 -3) 📝 `c/enc/dictionary_hash.h` (+15 -2) 📝 `c/enc/encode.c` (+5 -0) ➕ `c/enc/static_dict_lut.c` (+6047 -0) 📝 `c/enc/static_dict_lut.h` (+14 -5832) 📝 `c/enc/static_init.c` (+10 -0) 📝 `c/enc/static_init.h` (+0 -5) 📝 `setup.py` (+3 -0) </details> ### 📄 Description use static init to reduce encoder library size --- <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:56:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1886