ZIm/crates/repl
Alisina Bahadori 925464cfc6
Improve terminal rendering performance (#33345)
Closes #18263

Improvements:

• **Batch text rendering** - Combine adjacent cells with identical
styling into single text runs to reduce draw calls
• **Throttle hyperlink searches** - Limit hyperlink detection to every
100ms or when mouse moves >5px to reduce CPU usage
• **Pre-allocate collections** - Use `Vec::with_capacity()` for cells,
runs, and regions to minimize reallocations
• **Optimize background regions** - Merge adjacent background rectangles
to reduce number of draw operations
• **Cache selection text** - Only compute terminal selection string when
selection exists

Release Notes:

- Improved terminal rendering performance.

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2025-07-08 09:05:01 -06:00
..
src Improve terminal rendering performance (#33345) 2025-07-08 09:05:01 -06:00
Cargo.toml Upgrade async-tungstenite to tokio (#26193) 2025-04-08 09:17:08 -06:00
LICENSE-GPL repl: Add missing LICENSE file (#13161) 2024-06-17 14:13:12 -04:00