view/fs.js:54:0H-62 builds a directory listing with text += name and then
utf8.Encode(text).length per entry — re-encoding the whole accumulated
string two-three times per entry, O(N²) bytes for N entries; same shape in
buildChooserHunk (fs.js:74:0H-81). view/log.js:80:Wn-81 records fixing this exact
defect ("a text += concat recopied the whole text and went quadratic") with
the running-offset builder every other view now uses. Big directories pay it
on every open. Found in the 2026-08-21 review.
Per-entry encode with a running byte offset, as log.js spells it; a perf check on a several-thousand-entry directory.