Skip to content

docs: line_gate_bench on narrowed kotlin and swift state_mutation: neither ships (Part of #3171) - #6444

Merged
squid-protocol merged 1 commit into
mainfrom
churn/3171-20261024T1032Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/3171-20261024T1032Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3171 (slice 4). Docs only: records the bench for the last two narrowing candidates in the java shape.

Hand-benched with the repo's own helpers (build_line_gate, line_gated_finditer, line_gate_bench blocks): the one \s*\( call arm narrowed to [ \t]*\(, gate builds, crucible match spans identical in every file (kotlin 6 files, swift 6, java 10 as control).

lang corpus sparse dense verdict
kotlin -22% -19% +37..41% (3 runs) fails the 35% dense bar
swift +18% +13% +67% loses corpus and dense
java (control) -9% -6% +52% already recorded

The haskell/lua/m4/makefile/scheme/tcl/zig bench was already merged in #6398; none ships. So no _line_gates entry or pattern change is made, which also avoids a golden re-bless.

Class / Sibling gaps

Class: "state_mutation line-gate extension for the #3171 candidate list". Handled: ada, yacc (#5439), ts/js/python (#6368), csharp, groovy (#6407); benched and refused: rust (#6391), haskell, lua, m4, makefile, scheme, tcl, zig (#6398), java, kotlin, swift (this PR). Sibling gaps: scala, dart, php, ruby, objective-c, solidity, perl, shell, matlab, cobol, abap and others are not line-local (unaudited); they share the java shape of cost and likely fail the dense bar; low priority.

Cross-repo: none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 10:49
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 10:54
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 8c691b4 into main Oct 24, 2026
71 checks passed
@squid-protocol
squid-protocol deleted the churn/3171-20261024T1032Z branch October 24, 2026 11:22
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant