Files
scriptc/packages
Malte Ubl 8b0fbc03a2 Inline dense array element access fast paths
Strict element reads (scr_arr_get_f64/bool/ref, borrow), scr_arr_get_number,
scr_arr_state/has and element writes (scr_arr_set_f64/bool/ref) now check
inline for a canonical integer index inside dense storage (below cap, and
below len for reads, present-value state for strict reads) and load or
store the slot directly. Every other case calls the unchanged runtime entry
with a cold call-site attribute. Proven integers (exactInteger) skip the
double round-trip. for...of also reads the length inline.
2026-10-08 15:06:48 -05:00
..
2026-10-08 11:00:13 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00
2026-10-07 19:15:55 -05:00