Skip to content

boot: cmp.Or where orElse was, and the baseline written where it starts - #95

Merged
aledbf merged 1 commit into
mainfrom
boot/small-leftovers
Oct 2, 2026
Merged

aledbf merged 1 commit into
mainfrom
boot/small-leftovers

Conversation

@aledbf

@aledbf aledbf commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor
  • orElse(dflt, override) was cmp.Or(override, dflt), which the package already uses (bench_test.go's SPIN_MACHINE_OUTPUT); its six calls use cmp.Or
  • cmdlineVariants was a one-element slice since its second row was measured and dropped; SPIN_APPEND_B covers a second command line. The baseline is written where the list starts, and the comment names command line B beside kernels B and C

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

orElse was cmp.Or with its arguments the other way round, and the package already used
cmp.Or. cmdlineVariants held one row since the hash-table row was measured and dropped.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@aledbf
aledbf force-pushed the boot/small-leftovers branch from 015404a to e7ace46 Compare October 2, 2026 00:09
@aledbf
aledbf merged commit 17a901d into main Oct 2, 2026
1 check passed
@aledbf
aledbf deleted the boot/small-leftovers branch October 2, 2026 00:10
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