Expand description
Array method implementations for JIT — surface-and-stop.
§Status: SURFACE (ADR-006 §2.7.4 / W10 jit-playbook §5)
All array method dispatch (length, first, last, slice,
reverse, sort, unique, concat, flatten, take, drop,
join, sum/avg/min/max, includes/indexOf) walked the
deleted JitArray heap layout via from_heap_bits /
from_slice / from_vec. The kinded rebuild reads the receiver
as Arc<TypedArrayData> per-element-kind arm (§2.7.6/Q8) and
dispatches each method on the JIT-stamped element kind (§2.7.5)
— every aggregator (sum/min/max/…) becomes a per-kind native
arithmetic loop with no element-bit unboxing.
Functions§
- call_
array_ method - Call a method on an array value.