Skip to content

Commit 472303c

Browse files
JstatiaCopilot
andcommitted
Add MEMORY-PRINCIPLES.md — definitive memory design reference for native stack
Comprehensive document covering: - Philosophy: parse-once/share-everywhere, lazy parsing, streaming, Cow errors - Core primitives: Arc<[u8]>, ArcSlice, ArcStr, Arc<str>, LazyHeaderMap, CoseData - Operation memory profiles with O() analysis for parse/sign/verify - Cross-layer patterns: Rust → FFI → C → C++ data flow and ownership rules - Structurally required allocations inventory with justification - Allocation review checklist for PR reviews Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ec8d937 commit 472303c

File tree

1 file changed

+624
-0
lines changed

1 file changed

+624
-0
lines changed

0 commit comments

Comments
 (0)