ZIm/crates/repl/src
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
..
components chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
kernels python: Re-land usage of source file path in toolchain picker (#31893) 2025-06-02 16:29:06 +00:00
notebook gpui: Add shadow_xs, shadow_2xs and fix shadow values to match Tailwind CSS (#33361) 2025-07-03 09:50:26 -03:00
outputs Improve terminal rendering performance (#33345) 2025-07-08 09:05:01 -06:00
components.rs Show kernel options in a picker (#20274) 2024-11-07 17:59:53 -08:00
jupyter_settings.rs VSCode Settings import (#29018) 2025-04-23 20:54:09 +00:00
notebook.rs Initial Notebook UI structure (#19756) 2024-10-29 11:30:07 -07:00
outputs.rs Add horizontal scroll to REPL outputs (#33247) 2025-06-24 10:15:20 +03:00
repl.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
repl_editor.rs Add kernel detection for language support of runnable markdown cells (#29664) 2025-05-21 20:23:05 -07:00
repl_sessions_ui.rs gpui: Store action documentation (#33809) 2025-07-02 21:14:33 -04:00
repl_store.rs Add kernel detection for language support of runnable markdown cells (#29664) 2025-05-21 20:23:05 -07:00
session.rs Remove into SelectionEffects from .change_selections (#33554) 2025-06-27 14:31:31 -06:00