diff options
| author | eunhhu <[email protected]> | 2026-09-25 11:40:05 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-25 11:40:05 +0100 |
| commit | 12410be7ec2a030e8c3adcf318d87d5ac2954e1d (patch) | |
| tree | 76c9b7e55fb73e00242e287ffb7de8ebd92bf78b /prototypes/workbench/native.zig | |
| parent | af3d6d38a1494607507f63ab6f2e120ea21bb315 (diff) | |
| download | pure-12410be7ec2a030e8c3adcf318d87d5ac2954e1d.tar.gz pure-12410be7ec2a030e8c3adcf318d87d5ac2954e1d.zip | |
Keep draft versions readable within a transaction
A module event may read a document and then edit it; the value it read must
not change. pure_draft_version captures an immutable version and
pure_draft_read_version lends its extents; pure_draft_hold suspends arena
reclamation while a transaction still reads earlier versions. A test reads
the original 200 KB after 400 held edits and checks reclamation on release.
Diffstat (limited to 'prototypes/workbench/native.zig')
0 files changed, 0 insertions, 0 deletions
