Skip to content

TextUI 0.5.1

Choose a tag to compare

@yibie yibie released this 11 Aug 05:33
· 15 commits to main since this release

TextUI 0.5.1 documents and validates the two supported state-update paths.

  • Automatic reconciliation remains the default: update state and let TextUI evaluate the complete frame and patch changed named regions.
  • textui-update with :region and :producer is now documented as an opt-in performance fast path for a measured update confined to one complete-line region.
  • The state change, target, and producer remain together at the call site; the removed key-to-region dependency graph is not restored.
  • The retained btop benchmark now compares both paths on the same revision. With 1,000 rows at 120 columns, automatic reconciliation measured 4.14 ms median and explicit region update measured 2.36 ms, about 1.75 times faster on that fixture.
  • A regression test verifies that the explicit path skips the complete render function and changes only its named region.

See README.md, CHANGELOG.md, and ADR 0035 for the contract and correctness boundary.