perf(ecmascript): unify MemberCall payload into a single Vec
Change `JsValue::MemberCall` from `(u32, Box<JsValue>, Box<JsValue>, Vec<JsValue>)` to `(u32, Vec<JsValue>)` with layout `[args..., prop, obj]`. Shrinks `JsValue` from 48 → 40 bytes by dropping the two inline `Box` fields and reusing the args Vec as the single storage for obj, prop, and args. The reversed layout (obj/prop at the tail) lets the common fallthrough path in `builtin::replace_builtin` pop obj and prop off cheaply and treat the remaining Vec as the owned args — no extra allocation on the hot path. Pure size refactor. Snapshots regenerated (Debug output reflects the new storage order; Display is unchanged, so semantics and human-readable `graph-explained.snapshot` are identical).
Showing
This diff is collapsed.
Please
register
or
sign in
to comment