[PR #1173] [MERGED] Hoist the static bounds check out of the combined if check. #1741

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

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/1173
Author: @copybara-service[bot]
Created: 5/31/2024
Status: Merged
Merged: 5/31/2024
Merged by: @undefined

Base: masterHead: test_638854232


📝 Commits (1)

  • a528bce Hoist the static bounds check out of the combined if check.

📊 Changes

4 files changed (+32 additions, -16 deletions)

View changed files

📝 c/enc/hash_longest_match64_inc.h (+8 -4)
📝 c/enc/hash_longest_match64_simd_inc.h (+8 -4)
📝 c/enc/hash_longest_match_inc.h (+8 -4)
📝 c/enc/hash_longest_match_simd_inc.h (+8 -4)

📄 Description

Hoist the static bounds check out of the combined if check.


🔄 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/1173 **Author:** [@copybara-service[bot]](https://github.com/apps/copybara-service) **Created:** 5/31/2024 **Status:** ✅ Merged **Merged:** 5/31/2024 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `test_638854232` --- ### 📝 Commits (1) - [`a528bce`](https://github.com/google/brotli/commit/a528bce9f65be7515a47cec2cbdcd8023822b99b) Hoist the static bounds check out of the combined if check. ### 📊 Changes **4 files changed** (+32 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `c/enc/hash_longest_match64_inc.h` (+8 -4) 📝 `c/enc/hash_longest_match64_simd_inc.h` (+8 -4) 📝 `c/enc/hash_longest_match_inc.h` (+8 -4) 📝 `c/enc/hash_longest_match_simd_inc.h` (+8 -4) </details> ### 📄 Description Hoist the static bounds check out of the combined if check. --- <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:55:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1741