Rendering Speedup #56

Open
opened 2026-05-11 19:55:49 +00:00 by Ki11erRabbit · 0 comments
Ki11erRabbit commented 2026-05-11 19:55:49 +00:00 (Migrated from github.com)

Currently, small to medium sized files render quickly enough every keypress. However, with large files and bigger, there is a noticeable slowdown when moving the cursor around.
I figure that if we moved cursor rendering and placement into the frontends, this should allow the backend or frontend to simply cache the styled text and then they can be updated when something destructive happens (insert, delete, replace).
This should increase throughput.

Currently, small to medium sized files render quickly enough every keypress. However, with large files and bigger, there is a noticeable slowdown when moving the cursor around. I figure that if we moved cursor rendering and placement into the frontends, this should allow the backend or frontend to simply cache the styled text and then they can be updated when something destructive happens (insert, delete, replace). This should increase throughput.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ki11errabbit/koru#56
No description provided.