formats/bcpack: strip-streaming, branchless rANS, and fast BC1-BC7 re… #233
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from TaynanGT/Vice-Tay. Originally posted by mint17 on 2026-11-27T11:22:40Z.
…construction
Optimize BCPack decoding in crates/victory-formats/src/bcpack.rs with zero unsafe code and bit-exact parity across all 6 BC formats:
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T11:42:18Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by hamdanpor-ctrl on 2026-11-27T16:23:34Z.
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).
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T16:37:49Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T16:42:35Z.
Windows CI for
00ad360is on the repository run.