formats/bcpack: strip-streaming, branchless rANS, and fast BC1-BC7 re… #233
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!233
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-233"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@mint17 on GitHub · 2026-11-27 11:22 UTC · original
mint17:perf/bcpack-strip-streaming→main· +2702 −693 · 1 files · 1 commits · merged 2026-11-27 16:49 UTC…construction
Optimize BCPack decoding in crates/victory-formats/src/bcpack.rs with zero unsafe code and bit-exact parity across all 6 BC formats:
@TaynanGT on GitHub · 2026-11-27 11:42 UTC · original
@mint17 The bit-exact oracle and strip boundary coverage give us a good decoder check. I’ll keep the reported 1.82×–1.85× scoped to decode throughput. For the streaming path, the follow-up is the same input and output hash with peak temporary bytes and decode time measured together.
@hamdanpor-ctrl on GitHub · 2026-11-27 16:23 UTC · original
Test report, NVIDIA laptop on Windows: tests pass, BC packing faster here too.
mainat6b3a266, and the same commit with00ad360merged (git merge --no-ff, clean)cargo test -p victory-formats --lockedpasses; clippy with and without--all-featuresis clean on the merge.cargo test --release -p victory-formats --locked -- --ignored --nocapture throughput, one run eachbcpack_throughputimdct_throughputandbench_detile_throughputmoved within what a single run on a laptop varies (the detile rows went both ways by up to about 25 %), so I don't read anything into them.Single run each. AI-assisted (Claude Code).
@TaynanGT on GitHub · 2026-11-27 16:37 UTC · original
@hamdanpor-ctrl Thanks for the laptop pass. The BC1, BC4 and BC7 packing numbers move in the same direction, and the formats suite passed on your merge. That confirms the benefit in the packing benchmark. A repeated run on the current head would give us the spread before we use those numbers in the docs.
@TaynanGT on GitHub · 2026-11-27 16:42 UTC · original · edited 2026-11-27 16:45 UTC
Windows CI for
00ad360is on the repository run.