[PR #114] [MERGED] Brotli custom LZ77 dictionary support. #724

Open
opened 2026-01-29 20:50:33 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/114
Author: @szabadka
Created: 6/12/2015
Status: Merged
Merged: 6/12/2015
Merged by: @szabadka

Base: masterHead: master


📝 Commits (1)

  • b43df8f Brotli custom LZ77 dictionary support.

📊 Changes

8 files changed (+101 additions, -16 deletions)

View changed files

📝 dec/bit_reader.h (+0 -13)
📝 dec/decode.c (+25 -3)
📝 dec/decode.h (+13 -0)
📝 dec/state.c (+3 -0)
📝 dec/state.h (+4 -0)
📝 enc/encode.cc (+18 -0)
📝 enc/encode.h (+13 -0)
📝 enc/hash.h (+25 -0)

📄 Description

Adds functions to prepend such dictionary to the
encoder and decoder, and twiddles their internal
parameters to do as if that was a previous part of
the input. This dictionary is just a prefilled LZ77
window, it is not related to the built in transformable
brotli dictionary.


🔄 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/114 **Author:** [@szabadka](https://github.com/szabadka) **Created:** 6/12/2015 **Status:** ✅ Merged **Merged:** 6/12/2015 **Merged by:** [@szabadka](https://github.com/szabadka) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`b43df8f`](https://github.com/google/brotli/commit/b43df8f699484501e0972703e7d453b817de702d) Brotli custom LZ77 dictionary support. ### 📊 Changes **8 files changed** (+101 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `dec/bit_reader.h` (+0 -13) 📝 `dec/decode.c` (+25 -3) 📝 `dec/decode.h` (+13 -0) 📝 `dec/state.c` (+3 -0) 📝 `dec/state.h` (+4 -0) 📝 `enc/encode.cc` (+18 -0) 📝 `enc/encode.h` (+13 -0) 📝 `enc/hash.h` (+25 -0) </details> ### 📄 Description Adds functions to prepend such dictionary to the encoder and decoder, and twiddles their internal parameters to do as if that was a previous part of the input. This dictionary is just a prefilled LZ77 window, it is not related to the built in transformable brotli dictionary. --- <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:50:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#724