Codex TUI Massively Speeds Up Streaming Markdown
charliermarsh · x · 2026-07-19
A new version of Codex introduces incremental rendering for streaming Markdown in the TUI, making large outputs significantly faster.
The PR screenshots explain the issue: previously, streaming Markdown would continuously re-parse and redraw an increasingly large prefix as new content arrived, inflating the generation cost for long replies, lists, and tables. The new approach:
- Only incrementally renders the stable prefix
- Tracks the final top-level block during rendering
- Subsequent increments only retain the mutable suffix
Benchmarks from the PR show that in block-heavy streams, the incremental approach achieves 17.8x / 55.3x / 259x speedups compared to full re-rendering.
More from coding & agent
- AIE Code Summit 2026 opens applications: 800 seats, keynotes streamed free — trq212 · 2026-10-27
- TRL adds Score Centering, a simple fix for RLHF training instability — lvwerra · 2026-10-27
- Precompute golden answers and match at runtime for exact wording control — colinmcnamara · 2026-10-27
- Dev argues there's still alpha in working with your coding agent interactively — alex_frantic · 2026-10-27
- Researchers launch AMA on patterns for safer AI agents used by citizen developers — Loose_Rip359 · 2026-10-27
- Gradio Adds In-Chat Human-in-the-Loop So ML Intern Pauses Before Training — Gradio · 2026-10-27