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. Small/append-only sequences use a vector with an amortized front-retirement cursor. Wide sequences promote on non-boundary edits to a live-identity index, avoiding repeated sibling searches/shifts. No retired identities or business values enter that index.
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.