Skip to content

chore: remove unused COMPRESS_CCTX binding#17

Merged
dfa1 merged 1 commit into
mainfrom
chore/remove-dead-compresscctx
Jun 26, 2026
Merged

chore: remove unused COMPRESS_CCTX binding#17
dfa1 merged 1 commit into
mainfrom
chore/remove-dead-compresscctx

Conversation

@dfa1

@dfa1 dfa1 commented Jun 26, 2026

Copy link
Copy Markdown
Owner

ZSTD_compressCCtx (COMPRESS_CCTX) was bound but never called — one-shot context compression goes through ZSTD_compress2 (COMPRESS2), which honours the context's advanced parameters. Remove the dead handle.

Swept the rest of Bindings (digit-safe) — this was the only unused one. (VERSION_NUMBER is being wired up separately in #16.)

Test

./mvnw -pl zstd -am test — green, checkstyle + javadoc clean.

🤖 Generated with Claude Code

ZSTD_compressCCtx is never called — one-shot compression goes through
ZSTD_compress2 (COMPRESS2) with the context's advanced parameters. Drop
the dead handle. Swept the rest of Bindings; it was the only one unused.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfa1 dfa1 merged commit 18b8ace into main Jun 26, 2026
1 check passed
@dfa1 dfa1 deleted the chore/remove-dead-compresscctx branch June 26, 2026 19:00
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