diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 22:03:17 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 22:39:43 -0300 |
| commit | e8e612685e31989c22f2844cc55d9703d817d1df (patch) | |
| tree | 31e882a86107f07b06eace9afdca4d4417d6b702 /core/Query.zig | |
| parent | 1ce129e7415590a4979e71da683966c056fba532 (diff) | |
| download | pardes-e8e612685e31989c22f2844cc55d9703d817d1df.tar.gz pardes-e8e612685e31989c22f2844cc55d9703d817d1df.zip | |
replica: a client's kept list that reaches its bound (rebase_after, 32 units) while a key of its own is applied on top is let go free at the next unit that leaves nothing applied (the key's own unit, next in the stream), not put back with the 32 units replayed and the key applied again; with inputs on top all the while it is put back at twice the bound, so a rollback still replays a bounded list: before the session sends its pump's unit (it moved nothing, kept as neutral) ahead of every client key, so two units are kept a key and whether the 32nd is the pump's (the whole replay, about 50 to 100M instructions on the 3.2 MB file) or the key's own (free) is the parity the client's first units set, which made a near client's `edit` key 14.3 or 16.7 to 18.8M a block of 20 and `key-down` 3.8 or 8.8M by chance of the run, in either order of the send (`klmtkkpz` did not cause it: base against base with the order turned back, 6 runs each, edit medians 17.05 and 17.06M, 4 of 12 blocks over 1.05 in both); the kit (pardes-perf-sendfirst), base against this, 6 runs alternated, 12 blocks each, ReleaseFast, load 16 to 47: client edit 16.88M median (14.28 to 18.78, 5 blocks over 1.05) to 14.28M (14.26 to 14.30, none), key-down 3.83M (3.81 to 8.78, 2 over) to 3.84M (3.81 to 3.99, none), type 11.24M (11.00 to 12.88, 1 over) to 11.15M (11.01 to 11.29, none), rebases 1 to 5 a run to 0, the own path and the session unchanged; a test through the replica's surface (hand-ordered: a pump unit then the key's unit, 31 keys) fails before (one whole replay) and passes; tui core-test 849/992 (143 skipped), shell-test 1028/1031, pane-test 183/184, term-test 15/15, kitty-test 45/45, behaviour-test 275/275 and --replay 275/275
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Query.zig')
0 files changed, 0 insertions, 0 deletions
