mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-04 08:04:37 +08:00
- The jsval pass also promotes dyn module globals to jsval globals when only dynamic-tier functions read and write them and the boxing their writes save outweighs the boxing their reads add, the measure locals use. `checksum += f(x)` in a top-level loop no longer allocates a number cell per update. - A class dispatch helper that calls a method returning `this` on every path calls a copy of the method that returns nothing and answers its own receiver, the capsule of the same instance at its exact class, so the call boxes nothing.