Module string_renderer

Module string_renderer 

Source
Expand description

String-based terminal renderer with line diffing

This module provides a renderer that works with strings containing ANSI escape codes, similar to how Bubbletea handles rendering in the Go ecosystem.

Performance optimizations:

  • Buffer pooling to avoid allocations
  • Capacity hints for string operations
  • SIMD-accelerated line diffing
  • Render caching with hash-based invalidation

Structsยง

RenderStats
Rendering performance statistics
StringRenderer
A renderer that manages string-based terminal output with line diffing