Repository navigation
perf(array): typed-cell reads with dirty-flag invalidation (#914) - #919
Merged
Merged
Conversation
Audit follow-up: fail-compound empty materialization, nameref element writes, coproc endpoint close, and wait-pid array writes now sync_typed_indexed_array + clear the dirty flag, matching the other executor paths. local_var_scopes fallback audited, untouched (function-local overlay, not the shared mirror).
caomengxuan666
force-pushed
the
fix/array-typed-reads
branch
from
October 20, 2026 13:32
9628e14 to
2043b40
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.
Stacked on #917 + #918 (both merged). Executor writes keep the structured cell in sync; builtin-side writes set the dirty flag; reads trust the cell only when clean (debug_assert verifies cell==mirror in test builds). Audit covered all format_indexed_array_storage sites; this PR syncs the 4 remaining executor mirror writes (fail-compound, nameref element, coproc close, wait-pid). Bench: array write+read 2k 2725ms->~73ms, 4k 10453ms->~124ms, 8k linear ~250ms vs bash 67ms. Suite: lib 636 + cli 467 green, executor 11 known Android-env failures (baseline identical).