Skip to content

test(base32): cover bulk scalar error offsets - #18

Merged
tisonkun merged 3 commits into
mainfrom
test/base32-scalar-bulk-contracts
Nov 18, 2026
Merged

tisonkun merged 3 commits into
mainfrom
test/base32-scalar-bulk-contracts

Conversation

@tisonkun

@tisonkun tisonkun commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Base32 bulk scalar decoding is bypassed by normal dispatch on SIMD hosts, and existing malformed-input fixtures are below its threshold. Add one direct test for global invalid-byte offsets and non-canonical tail errors after a bulk prefix.

Add 159-, 160-, and 164-byte caller-buffer benchmarks around the scalar threshold.

Validation: cargo x test (625 test executions) and cargo x lint pass on aarch64-apple-darwin with rustc 1.98.0.

@tisonkun tisonkun changed the title test(base32): cover bulk scalar contracts test(base32): cover bulk scalar error offsets Nov 18, 2026
@tisonkun
tisonkun merged commit c815982 into main Nov 18, 2026
12 checks passed
@tisonkun
tisonkun deleted the test/base32-scalar-bulk-contracts branch November 18, 2026 02:34
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