diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-29 21:09:59 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-29 21:20:55 -0300 |
| commit | 411ac49dc8b7d901385caa05d1aefd4843de2a97 (patch) | |
| tree | 25c2594b729532202757753a7a7d68d5faff14c6 /src/web/libc/include/limits.h | |
| parent | e89ee60270267cb268ce642d79fb3fb277e84463 (diff) | |
| download | pardes-411ac49dc8b7d901385caa05d1aefd4843de2a97.tar.gz pardes-411ac49dc8b7d901385caa05d1aefd4843de2a97.zip | |
screen-state replicas: a flood's rows renumbered in place, not grown and trimmed by the thousand (a yes delta applies in 97 us, was 2.4 ms), holes blanked when they come into view, and input into a terminal left to the authority
screen_state.zig: when a delta's scroll is more than the replica's screen and history hold, nothing it holds is in the new state; its rows stay where they are, renumbered, the active ones and the tail written from the delta, the rest holes, and only as many more rows grown as the authority's history is longer. A hole has whatever that row held before, so `blank` clears the holes in view before they are asked for. The bench's floods run under the C allocator, as a replica does.
replica.zig: a replica's input whose live pane is a terminal is not speculated (its step reads the emulator, the last delta's here and the pty's newer one there): it waits for the authority, as a key in tty mode already did at its pty write. ReleaseFast, 200x60 yes at 16 MB/s: apply p50 97 us, p99 284 us; encode a frame 41 us at one peer and at three; 64 KB/s a peer.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/web/libc/include/limits.h')
0 files changed, 0 insertions, 0 deletions
