Readiness of defaulted nested ragged-array reads #
The real bounds check selects either allocating extraction or the unchanged fallback. In bounds, only the selected row's boundaries and final sentinel are allocated; out of bounds, neither the fallback nor its cells are copied. The mathematical result and old aliases refer to the actual final heap.
Retained boundary cells of a defaulted nested-row read. Even an empty valid row reserves its sentinel; an invalid index reserves nothing.
Equations
Instances For
Measure the actual natural-row read. All array sizes and the selected index fit the word width; no bound on unread natural payload values is assumed.
Measure the actual Boolean-row read. All array sizes and the selected index fit the word width; no bound on unread Boolean payload values is assumed.
Reuse the measured natural-row read as an indexed resource contract. Argument ranges come from the caller; the reserve depends on the selected row, never on the fallback's contents or length.
Reuse the measured Boolean-row read as an indexed resource contract. Argument ranges come from the caller; the reserve depends on the selected row, never on the fallback's contents or length.