You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[lynx-perf-s2 3] Code-staged updaters: (handle, slot, value) applied by compiled setters — zero prop routing on the hot path #19
Part of the [lynx-perf-s2] code-staged roadmap (sequel to #9). Depends on #17 (setter tables) and #18 (planned nodes know their plan/slot on MT).
Scope (one PR)
Updates to plan-slotted props stop being generic prop-bag commands: the wire addresses (handle, slot, value) and MT applies through the plan's compiled set[slot] — the applyProps routing/canonicalization switch leaves the hot path for planned nodes (generic path remains for unplanned/dynamic props and as fallback).
This is RL's fourth component (update[槽位]() — the slot's prop kind resolved at compile time, zero runtime routing), built on invariants we already shipped: value-semantic equality (#1 means a slot update only exists when the value truly changed), token events (closures never cross), and slot identity from the plan table.
Constraints
Semantics byte-for-byte: controlled props, event token binding/unbinding, class/style composition (clsx semantics), text casts — all pinned by existing parity suites (thread-calls, main-thread-events, controlled inputs, differential fixtures).
Wire stays value-semantic and ≤ current size: select@10k stays at 2 commands / ≤225 bytes (existing gate must not regress; slot addressing should shrink it, never grow it).
Deterministic: counter proving 0 generic-routing applications for planned-slot updates in the prod rig run (gate-pinned); select/update wire bytes gates unchanged or improved.
Closed by #16's measurement gate (PR #22): the mount/FCP instrument shows no share for updater staging to claim, and point updates already sit inside the target band from S1 (select 274ms = 1.95× vdom with 2 commands/225 bytes, update10th 473ms) — MT routing cost on those ops has no measured mass to justify a staging PR. Rationale in #21's gate-outcome section. Reopen only if a point-update-specific measurement surfaces a gate-clearing share.
Live-main audit (2026-08-11): this remains correctly closed. octanejs#693/octanejs#700 use compiler-owned flattened values and direct dense execution; retained update breadth landed separately as octanejs#696. There is no evidence for reviving the proposed setter protocol.
Activity
Huxpro commentedon Aug 10, 2026
Closed by #16's measurement gate (PR #22): the mount/FCP instrument shows no share for updater staging to claim, and point updates already sit inside the target band from S1 (select 274ms = 1.95× vdom with 2 commands/225 bytes, update10th 473ms) — MT routing cost on those ops has no measured mass to justify a staging PR. Rationale in #21's gate-outcome section. Reopen only if a point-update-specific measurement surfaces a gate-clearing share.
Generated by Claude Code
Huxpro commentedon Aug 11, 2026
Live-main audit (2026-08-11): this remains correctly closed. octanejs#693/octanejs#700 use compiler-owned flattened values and direct dense execution; retained update breadth landed separately as octanejs#696. There is no evidence for reviving the proposed setter protocol.