Expand description
The submilli array’s operations — the Rust port of the prelude’s Array
and ArrayConstructor methods.
Unlike the string port, these work in wasmtime’s value space: an array holds
boxed object references, higher-order methods call back into a guest
closure once per element, and the searching/join/default-sort paths
re-enter each element’s vtable (toString/equals). The $Array
marshalling and host-fn registration live in install; the shared
Closure handles callbacks.
This file is the iteration and the element math.
Mutators retain the receiver’s identity and spare backing capacity. Methods that call guest code snapshot and root their inputs before callbacks run.