Provide bounded sparse 3D pages with revision-checked atomic edit batches #14

Closed
opened 2026-12-02 19:31:17 +00:00 by faumaray · 1 comment
Owner

We need to update cells addressing more than one fixed-size page and publish a single accepted result. Our game defines materials, procedural generation, residency and on-disk deltas. The reusable part is a finite sparse page table with explicit allocation limits, caller-defined cell payloads and revision-checked batch edits. Downstream storage contract

At 7b0fea6095f603f9e1904f66dfdc7752f4be4792 the library provides contiguous matrix storage and caches with eviction. Neither published contract we found supports all-or-nothing sparse volume edits against multiple expected page revisions. Matrix · Published containers

Would a reusable primitive for this fit the library? Useful results include the changed page identities and their new revisions in specified order. Page/byte budgets, duplicate edits, unchanged values, revision exhaustion and stale preconditions need defined semantics.

Replacement checks would span adjacent pages at cells 31/32, change both in one batch, then retry with a stale revision on the second page and verify the first remains identical. Repeat with insufficient page budget and exhausted revision, permute inputs for a batch of distinct cells, and compare the resulting deltas. Use opaque numeric cell values and run on Windows x64.

We need to update cells addressing more than one fixed-size page and publish a single accepted result. Our game defines materials, procedural generation, residency and on-disk deltas. The reusable part is a finite sparse page table with explicit allocation limits, caller-defined cell payloads and revision-checked batch edits. [Downstream storage contract](https://git.faumaray.com/Lagg1ng/stoneheart_at_home/src/commit/2a5df1a18b055adc71bd9d3defe2bec40c4496e7/docs/plan/systems/S02.md) At `7b0fea6095f603f9e1904f66dfdc7752f4be4792` the library provides contiguous matrix storage and caches with eviction. Neither published contract we found supports all-or-nothing sparse volume edits against multiple expected page revisions. [Matrix](https://git.faumaray.com/Void/Library/src/commit/7b0fea6095f603f9e1904f66dfdc7752f4be4792/include/Void/Math/Matrix.hpp) · [Published containers](https://git.faumaray.com/Void/Library/src/commit/7b0fea6095f603f9e1904f66dfdc7752f4be4792/include/Void/Containers) Would a reusable primitive for this fit the library? Useful results include the changed page identities and their new revisions in specified order. Page/byte budgets, duplicate edits, unchanged values, revision exhaustion and stale preconditions need defined semantics. Replacement checks would span adjacent pages at cells 31/32, change both in one batch, then retry with a stale revision on the second page and verify the first remains identical. Repeat with insufficient page budget and exhausted revision, permute inputs for a batch of distinct cells, and compare the resulting deltas. Use opaque numeric cell values and run on Windows x64.
Author
Owner

Implemented on branch issue/14-sparse-page-table (local commit b5557e5).

Void::Containers::SparsePageTable added: bounded sparse pages with all-or-nothing revision-checked edit batches and save/restore.

Merge request: #30

Implemented on branch `issue/14-sparse-page-table` (local commit `b5557e5`). `Void::Containers::SparsePageTable` added: bounded sparse pages with all-or-nothing revision-checked edit batches and save/restore. Merge request: https://git.faumaray.com/Void/Library/pulls/30
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Void/Library#14