Iterator Element Ownership Protocol

6 sections

0%
Overview

Establish one backend-neutral iterator-yield contract: every element yielded by IterState::next() transfers exactly one logical owner credit to the consumer. A consumer either transfers that credit onward or discharges its exact cleanup obligation; an adapter that discards an element discharges the same obligation. AIMS freezes those owner, transfer, and cleanup events in the shared executable artifact before any physical executor selects storage or instructions.

Planned

6 sections