Repository navigation
docs: line_gate_bench on narrowed kotlin and swift state_mutation: neither ships (Part of #3171) - #6444
Merged
Conversation
…ither ships (Part of #3171) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 10:49
squid-protocol
enabled auto-merge (squash)
October 24, 2026 10:54
Contributor
Owner
Author
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_benchblocks): 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).The haskell/lua/m4/makefile/scheme/tcl/zig bench was already merged in #6398; none ships. So no
_line_gatesentry 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