nativeview-store 0.1.0-rc.1

Data-oriented word-table NodeStore, Transaction/ChangeSet, and the NV02 table-major wire.
Documentation

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-aligned NodeRow storage, dense/sparse u32 word columns (NvTable + #[derive(NvTable)] with sealed RowRef<'a> / RowWriter<'a>), sealed UTF-8 StrArena, typed Span<T>, ResourceStore, and RealizationOrder.
  • wire::{WireEncoder, WireDecoder}: table-major NV02 binary 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)] Str getters return &'a str directly via sealed RowRef<'a> (O(1) unchecked over the live store's validated UTF-8 arena); detached StrArena::str(span) validates UTF-8 safely on arbitrary spans.

Verification

cargo test -p nativeview-store && cargo bench -p nativeview-store --bench store_bench