[PR #536] [MERGED] Update c- and java-decoder #1182

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

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/536
Author: @eustas
Created: 4/5/2017
Status: Merged
Merged: 4/5/2017
Merged by: @eustas

Base: masterHead: update-05


📝 Commits (1)

  • b3e1bd3 Update c- and java-decoder:

📊 Changes

8 files changed (+332 additions, -245 deletions)

View changed files

📝 dec/decode.c (+139 -131)
📝 java/org/brotli/dec/BitReader.java (+105 -33)
📝 java/org/brotli/dec/BitReaderTest.java (+10 -2)
📝 java/org/brotli/dec/BrotliInputStream.java (+8 -12)
📝 java/org/brotli/dec/BrotliRuntimeException.java (+0 -4)
📝 java/org/brotli/dec/Decode.java (+51 -32)
📝 java/org/brotli/dec/Dictionary.java (+4 -4)
📝 java/org/brotli/dec/IntReader.java (+15 -27)

📄 Description

  • speedup java decoder
    • avoid masking when writing to ring buffer
    • avoid excessive fillBitWindow
    • streamline uncompressed block processing
  • make java decoder more transpilation-friendly
  • avoid non-essential goto's in c-decoder

🔄 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/536 **Author:** [@eustas](https://github.com/eustas) **Created:** 4/5/2017 **Status:** ✅ Merged **Merged:** 4/5/2017 **Merged by:** [@eustas](https://github.com/eustas) **Base:** `master` ← **Head:** `update-05` --- ### 📝 Commits (1) - [`b3e1bd3`](https://github.com/google/brotli/commit/b3e1bd308f348d93b3c4243446b2d5a8b9f53349) Update c- and java-decoder: ### 📊 Changes **8 files changed** (+332 additions, -245 deletions) <details> <summary>View changed files</summary> 📝 `dec/decode.c` (+139 -131) 📝 `java/org/brotli/dec/BitReader.java` (+105 -33) 📝 `java/org/brotli/dec/BitReaderTest.java` (+10 -2) 📝 `java/org/brotli/dec/BrotliInputStream.java` (+8 -12) 📝 `java/org/brotli/dec/BrotliRuntimeException.java` (+0 -4) 📝 `java/org/brotli/dec/Decode.java` (+51 -32) 📝 `java/org/brotli/dec/Dictionary.java` (+4 -4) 📝 `java/org/brotli/dec/IntReader.java` (+15 -27) </details> ### 📄 Description * speedup java decoder * avoid masking when writing to ring buffer * avoid excessive `fillBitWindow` * streamline uncompressed block processing * make java decoder more transpilation-friendly * avoid non-essential `goto`'s in c-decoder --- <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:52:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1182