Repository navigation
perf(export/unset): second-pass body cuts for the export/unset interleave loop - #992
Merged
Merged
Conversation
caomengxuan666
force-pushed
the
fix/export-body2
branch
from
October 22, 2026 02:38
4e5c5a0 to
d3486b9
Compare
…eave loop (#984/#986/#920 follow-up) 13 files, all whitelist/alloc-elision, doubt falls through: no-pattern gates for glob/procsub/substitution scans, Cow for IFS/payload decodes, raw-join BASH_COMMAND render with fast==slow contract test, export mirror borrow, unset borrowed names/flags, first-byte gate for single-quote tiling, plain-operand declare rewrite. Interleave 2k: 60ms->51ms vs bash 27-30ms (~2.2x->~1.9x, ~15%). Note: the splits_unquoted_expanded_word no-IFS short-circuit was reverted before merge — Windows-only upstream-suite (exp) snapshot divergence, root cause not yet isolated; Linux runs were byte-identical. Tracked separately.
caomengxuan666
force-pushed
the
fix/export-body2
branch
from
October 22, 2026 05:32
e96330b to
d53f586
Compare
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.
Follows #984/#986/#920. 13 files, all whitelist/alloc-elision, doubt falls through: no-pattern gates for glob/procsub/substitution scans, Cow for IFS/payload decodes, raw-join BASH_COMMAND render with fast==slow contract test, export mirror borrow, unset borrowed names/flags, first-byte gate for single-quote tiling, plain-operand declare rewrite. Tests: lib 689 + fuzz green, GNU probes byte-identical vs base (2 pre-existing divergences unchanged). Interleave 2k, my A/B: 60ms->51ms vs bash 27ms (2.22x->1.89x, ~15%).