8000
Skip to content

Factorize decompression macros to consolidate copy logic - #150

Merged
hellobertrand merged 1 commit into
mainfrom
feat/macros
Mar 26, 2026
Merged

Factorize decompression macros to consolidate copy logic#150
hellobertrand merged 1 commit into
mainfrom
feat/macros

Conversation

@hellobertrand
@hellobertrand hellobertrand commented Mar 26, 2026
Copy link
Copy Markdown
Owner

Introduces DECODE_COPY_LITERALS and DECODE_COPY_MATCH sub-macros to deduplicate the literal and match copying logic used in both SAFE and FAST sequence decoding paths. This reduces code duplication across the GLO and GHI block decoding functions and improves maintainability.

Introduces `DECODE_COPY_LITERALS` and `DECODE_COPY_MATCH` sub-macros to deduplicate the literal and match copying logic used in both SAFE and FAST sequence decoding paths. This reduces code duplication across the `glo` and `ghi` block decoding functions and improves maintainability.
@codecov
codecov Bot commented Mar 26, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@hellobertrand
hellobertrand merged commit 7804602 into main Mar 26, 2026
66 checks passed
@hellobertrand
hellobertrand deleted the feat/macros branch March 26, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0