Repository navigation
Performance release: roughly 4x faster end to end with the opt-in AVX2 build and 1.13x faster in default scalar builds, with the verification surface extended to match.
Highlights
- GF(256)
MulAddnow uses lane-duplicated VPSHUFB nibble product tables and XOR runs 128 bytes per iteration in the opt-inGOEXPERIMENT=simdbuild; paired kernel medians dropped from 223.2 ns to 46.0 ns (MulAdd) and 58.6 ns to 21.1 ns (XOR) per 1,280-byte symbol. The rewrite removes a hidden AVX-to-SSE transition stall in the previous kernel. - Hybrid inactivation execution gathers dense columns in bulk and updates HDPC rows through row views instead of per-element checked accessors, which also speeds up default scalar builds (1.13x paired).
- Paired K=10,000/T=1280 medians on an i9-14900HX: 117.5 ms construct-plus-repair and 112.2 ms ten-percent-loss decode with SIMD, versus 487.4 ms and 509.2 ms scalar at the same commit. Methodology and frozen binary hashes in dev/perf/simd-optimization-log.md.
- Workspace accounting gained exactly one shared column-gather scratch (
4*(L-finalI)bytes, one steady allocation), mirrored in the formal workspace model and regenerated trace artifacts. - Fixed a silent
mutation:changedno-op (gitdiff.mnemonicPrefixemptied the changed-line filter); the round's changed lines are now mutation-tested with survivors documented in docs/mutation-testing.md. - README rewritten for onboarding.
Compatibility
- No public API changes. Requires Go 1.26 or newer; pure Go with no CGo or third-party runtime dependencies.
- v0.x: the public API may still change before v1.
Verification at this tag: lint, default and SIMD test suites (including the runtime AVX2-off fallback), race, 386, checkptr, fuzz smoke, generated-artifact, TLA+, trace corpus, and both mutation gates all passed.