Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .jules/bolt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2024-05-24 - Avoid `rich.text.Text` Instantiation for Length Checks
**Learning:** Instantiating `rich.text.Text(text)` just to check string length with `len(rich_text.plain)` in TUI render loops is a severe performance bottleneck.
**Action:** Use the built-in `len(text)` instead of `rich.text.Text` for simple string length checks to avoid rendering overhead.
Loading