nativeview-store
Data-oriented word-table NodeStore, transactional Transaction/ChangeSet commits, and the compact 4-byte-aligned NV02 wire codec.
Role & API
NodeStore: dense 32-byte cache-line-alignedNodeRowstorage, dense/sparseu32word columns (NvTable+#[derive(NvTable)]with sealedRowRef<'a>/RowWriter<'a>), sealed UTF-8StrArena, typedSpan<T>,ResourceStore, andRealizationOrder.wire::{WireEncoder, WireDecoder}: table-majorNV02binary wire framing with zero-allocation steady-state buffer reuse.
Invariants
- Framework-agnostic (zero UI-framework or platform backend dependencies).
- Zero steady-state heap allocations proven by
tests/zero_alloc.rs(CountingAlloc). #[derive(NvTable)]Strgetters return&'a strdirectly via sealedRowRef<'a>(O(1) unchecked over the live store's validated UTF-8 arena); detachedStrArena::str(span)validates UTF-8 safely on arbitrary spans.
Verification
&&