Memory Model

The framework’s memory model is explicit: the C engine owns tensor buffers and PHP objects manage lifetime.

Allocation paths

Data layout

Zero-copy and views

Page and cache behavior

Best practices