Terminal notes: client throughput round 3 (hot spots, changes, benches)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Vendored
+11
@@ -55,3 +55,14 @@ Local patches (keep this list current):
|
||||
reused until the line changes (`ui/row_pictures.dart`,
|
||||
`BufferLine.version`); glyphs wider than their cells scaled to fit;
|
||||
`TerminalStyle` and `TerminalTheme` compare by value
|
||||
- write path: the parser reads written strings directly (`ByteConsumer`
|
||||
counts UTF-16 units, no rune lists) and handles printable ASCII runs and
|
||||
C0 controls straight from the string (`EscapeHandler.writeAscii`,
|
||||
`Buffer.writeAscii`, `BufferLine.setAsciiCells`); a line leaving a full
|
||||
scrollback or a one-line region scroll is cleared and reused unless it
|
||||
has anchors (`BufferLine.clear`, which clears only the cells written
|
||||
since); switch dispatch for C0 and direct calls for CSI/SGR;
|
||||
`joinPreviousCell` rejects non-joining characters first; width table
|
||||
covers plane 1; `IndexAwareCircularBuffer.insert` keeps its start index
|
||||
wrapped; `Terminal.write(notify: false)` lets the host notify once per
|
||||
frame
|
||||
|
||||
Reference in New Issue
Block a user