feat(storage): CompactStore v5 mapped graph structures (G-EM0.2) - #8
Open
jarmen423 wants to merge 2 commits into
Open
Conversation
Implement the R0-accepted v5 segment-directory payload so proportional graph structures stay file-backed on read-only mapped open: CSR arrays, string dictionaries, sorted ID lookups, and column bodies are checked mapped views. Add split memory accounting, mapped_graph_tests, and readonly graph parity at two sizes. Preserve v1–v4 compatibility readers; default writer emits v5.
…xtures Emit and restore CompactStore v5 kinds 18–20 (table/block zone maps and dictionary code index) so mapped reopen keeps prune and O(log D) string equality. Add sparse-ID, high-fanout, many-block, and 96 KiB fixtures plus a strict ≥4× mapped-payload size proof for parent H-EVID.RO dispatch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements G-EM0.2 — bounded graph metadata and mapped proportional structures — on top of G-EM0.1 container mmap ownership.
mapped_payload_index_bytes,anonymous_owner_schema_bytes, proportional must be 0)mapped_graph_testsunit suite +compact_store_readonly_graph_parityat two graph sizesVerification
All of the above PASS in this leaf session.
Notes for parent
7ae5f217…(feature/g-em0-1-direct-mapped-container).