alan
f7ef4d1445
Terminal emulator: faster write path (ASCII runs, reused lines, no per-char allocation)
...
- Parser reads the written strings directly (no rune list per write) and
handles printable ASCII runs and C0 controls straight from the string;
a run is written into the line in one call (Buffer.writeAscii,
BufferLine.setAsciiCells), as writeChar would one by one.
- A line leaving a full scrollback (or a one-line region scroll) is
cleared and reused instead of allocating a 4 KiB line; lines with
anchors (selection ends) still leave detached. Lines track the cells
written since made or cleared, so a clear touches only those.
- Grapheme join rejects characters that cannot join before reading the
cell (it built a String per character); width table covers plane 1.
- Switch dispatch for C0 controls, direct calls for CSI and SGR (torn-off
handlers are slow in JavaScript); CSI params emptied without clear();
circular buffer index without %; insert keeps the start index wrapped.
- Terminal.write(notify: false) lets a host notify once per frame.
- tool/perf/terminal_parse_bench.dart: parse throughput in the VM or V8.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-26 02:34:08 +00:00
..
2026-11-01 20:03:26 +00:00
2026-11-26 00:52:19 +00:00
2026-11-11 20:10:51 +00:00
2026-11-04 13:10:21 +00:00
2026-11-26 02:34:08 +00:00
2026-10-23 22:25:13 +01:00
2026-11-11 20:10:51 +00:00
2026-11-04 13:10:21 +00:00
2026-11-11 21:55:39 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:10:51 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-10-28 16:45:05 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-10-22 21:59:06 +01:00
2026-11-08 00:11:39 +00:00
2026-11-08 00:11:39 +00:00
2026-11-11 21:38:30 +00:00
2026-10-25 17:38:56 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-21 20:39:39 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-11-05 14:03:00 +00:00
2026-10-31 22:16:21 +00:00
2026-11-08 23:59:20 +00:00
2026-10-24 01:44:50 +01:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-01 02:21:22 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-10-21 18:31:38 +01:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-07 01:43:54 +00:00
2026-11-07 01:43:54 +00:00
2026-11-05 13:59:38 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-10-21 19:09:29 +01:00
2026-10-21 19:09:29 +01:00
2026-10-21 19:09:29 +01:00
2026-10-21 19:09:29 +01:00
2026-10-22 00:07:53 +01:00
2026-10-21 19:21:41 +01:00
2026-10-21 19:47:08 +01:00
2026-10-21 19:47:08 +01:00
2026-11-11 21:38:30 +00:00
2026-11-12 23:08:42 +00:00
2026-11-01 21:51:48 +00:00
2026-11-13 15:59:35 +00:00
2026-11-03 22:16:49 +00:00
2026-10-23 23:35:57 +01:00
2026-11-07 00:24:32 +00:00
2026-10-23 23:35:57 +01:00
2026-10-21 22:49:26 +01:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-10-22 02:07:49 +01:00
2026-11-11 21:38:30 +00:00
2026-10-31 22:19:36 +00:00
2026-10-21 17:26:36 +01:00
2026-10-31 22:19:36 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-26 01:14:48 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 20:10:51 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-10-21 17:39:18 +01:00
2026-11-11 21:38:30 +00:00
2026-10-21 13:37:18 +01:00
2026-10-23 13:18:53 +01:00
2026-11-11 20:08:06 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-06 21:28:37 +00:00
2026-11-11 21:55:39 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:55:39 +00:00
2026-11-11 21:38:30 +00:00
2026-11-05 14:03:00 +00:00
2026-11-07 00:24:32 +00:00
2026-10-21 19:16:49 +01:00
2026-11-11 21:38:30 +00:00
2026-11-11 21:38:30 +00:00