Skip to main content

Module memory

Module memory 

Source
Expand description

Reference semantics for adapters. This interpreter performs no layout/paint. It stores live objects and one generation watermark per allocated slot. Child sequences separately bound their unread numeric prefixes.

Structs§

Children
Ordered live children, exposed as a contiguous slice. Consuming the front advances a cursor instead of moving every remaining sibling. The inactive prefix contains numeric identities only and is bounded by live + 64; an empty sequence clears it immediately. Capacity follows peak live work.
Memory
Node
PreparedPatch
One validated field update. Its descriptor is a borrowed view of the staged value; the inverse contains only the replaced field. Drop rolls it back, including on unwinding. No stats/watermark advance until commit.
Stats
Submission
A finite preparation segment for stateless Plan construction/fields/retirement. Unsupported operations form a host barrier. Drop restores all unconfirmed operations; finish keeps exactly the successful semantic prefix.

Enums§

Subtree
A proposed child of a logical parent. New descriptors have no identity or descendants yet; existing ranges include their suspended descendants. This borrowed view is for validation, never a snapshot or host-tree lookup.

Constants§

MAX_LAYERS
Current live Layer facets, including hidden/detached declarations. Physical hosts may open fewer; this shared admission bound prevents late host failure.