perf(codegen): specialize call-returned array stores - #8820
Closed
proggeramlug wants to merge 2 commits into
Closed
Conversation
|
Warning Review limit reachedNext included review available in 2 minutes. View limit detailsLimit details: You’ve used all 8 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
proggeramlug
added a commit
that referenced
this pull request
Aug 25, 2026
* fix(async_hooks): address lifecycle review feedback * fix(doctor): reject stale runtime archives * docs: add runtime compatibility changelog fragment * fix(sharp): support create input descriptors * perf(codegen): specialize call-returned array stores * perf(map): repair ordered-delete indexes in place * chore: add changelog for map delete optimization * test(map): root ordered-delete string keys * feat(qs): add native Stripe-compatible shim (#8751) * docs: add changelog fragment for sharp create * fix(runtime): complete build identity inputs * test(compile): cover compiled package builtin imports * chore: add changelog for array-store optimization --------- Co-authored-by: Ralph Küpper <ralph@skelpo.com>
Contributor
Author
|
Landed on |
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.
What changed
PutValueSet.targetand.receiverHIR trees as the single source evaluation they represent, including a call expression such asthis.getData()[index] = valueThis is a general lowering/runtime fix: it contains no ECS names, benchmark labels, workload thresholds, or command-buffer special cases.
IndexSet::lowerstill evaluates the assignment base once; the structural check only recovers the identity already encoded by HIR.Verification
cargo fmt --all -- --checkgit diff --checkpython3 scripts/gc_store_site_inventory.py --gate(1,579 files; all 97 runtime barrier claims source-verified)One initial local executable-test compile reported successful module codegen but lost its temporary
main_ts.obefore the clang link. The exact isolated retry passed in 13.3 seconds; the semantic assertions did not fail.Mac mini benchmark evidence
Five interleaved Perry/Perry A/B pairs used the same precompiled isolated ECS 15k-command source, with this change stacked on #8807 and #8813. Each process used 2 warmups and 6 measured rounds; all 10 process-level semantic oracles passed.
The candidate Archetype IR contains three calls to
js_typed_feedback_array_set_index_or_stringand no calls tojs_put_value_set_dyn_ic. Binary SHA-256 values were pinned for both arms. This is an admitted mechanism gain, not a Node-parity claim; the wider ECS plan continues to track the remaining gap separately.