Skip to content

perf: spindel 0.1.102 and cheaper seeded streams (~2x SMC) - #47

Merged
whilo merged 2 commits into
mainfrom
perf/random-streams
Oct 4, 2026
Merged

whilo merged 2 commits into
mainfrom
perf/random-streams

Conversation

@whilo

@whilo whilo commented Oct 4, 2026

Copy link
Copy Markdown
Member

Per-site stream seeding was ~21% of SMC CPU. canonical walks only collections (no postwalk on scalars), the UUID's words come from its bits instead of hex parsing (JVM), and next-u32! no longer recomputes the step it just applied. Generator states are bit-identical: a new test checks words and 100 draws against the previous computation for scalar, vector, map, list, set and map-entry seeds. ~1.05× on the SMC benchmark on top of spindel #108; identical log-marginals.

@whilo whilo changed the title perf(random): cheaper seeded streams and draws perf: spindel 0.1.102 and cheaper seeded streams (~2x SMC) Oct 4, 2026
@whilo
whilo merged commit 71f6b19 into main Oct 4, 2026
7 checks passed
@whilo
whilo deleted the perf/random-streams branch October 4, 2026 06:19
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