Skip to content

[lynx-perf-s2 3] Code-staged updaters: (handle, slot, value) applied by compiled setters — zero prop routing on the hot path #19

Closed as not planned

Description

@Huxpro

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

Acceptance / gates

  • 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.
  • Same-run ratios reported for select/update10th (expectation: modest — BG replay dominates these after auto-memo; the honest claim is MT-side cost removal, measured via [lynx-perf-s2 0] Stage decomposition: attribute FCP and create before cutting (go/no-go instrument) #16's instrument).
  • Red-check: mis-map one slot's kind ⇒ parity suite red; disable setter registry ⇒ generic fallback keeps everything green.

Activity

  1. added
    enhancement
    on Aug 9, 2026
  2. Huxpro commented on Aug 10, 2026

    @Huxpro
    OwnerAuthor

    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

  3. Huxpro commented on Aug 11, 2026

    @Huxpro
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-authoredenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions