SIGN IN SIGN UP

perf(react-compiler): avoid cloning aliasing effects (#26009)

Avoid repeatedly interning and deep-cloning aliasing effects during mutation inference. Cached effects are now interpreted by reference and cloned only when persisted.

Benchmarks improve by 8–14% on representative React Compiler workloads.

AI-assisted.
B
Boshen committed
88f7f587dfd9d3b58685207a1cce2e1fa61e24f4
Parent: 4b6ea23