Closed jamescourtney closed 3 years ago
When possible, precompute the vtable length and suppress ```if```` statements that update it.
Pre-slice the span when writing structs. This elides bounds checks and lets the JIT generate more compact code with fewer jumps.
When possible, precompute the vtable length and suppress ```if```` statements that update it.
Pre-slice the span when writing structs. This elides bounds checks and lets the JIT generate more compact code with fewer jumps.