Skip to content

Commit

Permalink
perf: Render program more efficiently
Browse files Browse the repository at this point in the history
Previously, the entire program was rendered for every frame. For large
programs, this caused the TUI to waste a lot of time rendering what
would ultimately be discarded, due to most of the program being
off-screen, severely impacting usability.

Now, the relevant information about the program is pre-computed and
cached. From this cache, only the relevant lines are fetched and
rendered.
  • Loading branch information
jan-ferdinand committed Aug 26, 2024
1 parent 9fae291 commit 3e1b491
Showing 1 changed file with 230 additions and 76 deletions.
Loading

0 comments on commit 3e1b491

Please sign in to comment.