Performance questions #4292
-
Hi, I would like to start by saying I am trying to improve my programming knowledge. However, I am running into issues with displaying output (with text styling, and many lines of output). What should I be looking into to try improve performance? I am keen to learn, but don't really know where to go from here. Any help is appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Always refresh the smallest possible scope. If a single character changed then set/refresh only that cell. Also consider checking out the https://github.com/fyne-io/terminal project where there is a full terminal app and also re-usable Fyne widget that may save you a lot of time. |
Beta Was this translation helpful? Give feedback.
Always refresh the smallest possible scope. If a single character changed then set/refresh only that cell.
Most performance issues in GUI apps come where developers just refresh the whole window, or large widgets, instead of the required scope.
Also consider checking out the https://github.com/fyne-io/terminal project where there is a full terminal app and also re-usable Fyne widget that may save you a lot of time.