Hylix: From Stable Bytes to Records Follow a record into stable memory Start with Records on the right. When the canister takes a snapshot, this service opens its Hylix record. Follow the retained descriptor down to the bytes it will read. The encoded record holds a revision and handles for the entries map and the blob. Hylix's working set holds encoded bytes. When the service opens the record, Store decodes its fields into the actor frame. A later access in that frame reuses the decoded record. Watch one segment through a thousand edits Watch the byte cache in a small native test. The first access loads a four-kibibyte segment into the Working Set. The test changes eight bytes inside that segment and reads them back from the same copy. The next write hits that resident segment. It changes the same eight bytes, and the next read sees the new value. Repeat the loop up to one thousand. All those edits leave just one span to flush. When the write frame ends, the provider gets one eight-byte write. The test counted one segment read and that one write. Reopen the arena and read the allocation again. The saved value is one thousand. Publish the record, close the frame Back in the probe, one update rewrites both modules. Payloads replaces its fixed vector first. Records then rewrites the map and blob and sets its revision to one. The collection writes reach the byte cache during the call. At the end of the frame, Store encodes the dirty record into the cache. The arena publishes its allocation metadata and flushes the remaining dirty spans to the provider. A snapshot query can read those committed bytes. When the query closes, its temporary decoded record and cache are discarded. The stable image stays as it was before the query. The snapshot returns both owners at revision one. Payloads has a new set of values in stable memory. Follow its retained vector descriptor for the next read.