-
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No need to redraw if there has not been any events. Poll for events about every 100 ms. Drops utilization from around 25% to less than 0. Also swap `-ffunction-sections -fdata-sections` for LTO to save ~5 Kb of memory when loaded and probably an immeasurable amount of performance. Below is the size difference using LTO: ![image](https://github.com/user-attachments/assets/65a585ec-3da2-4006-ae34-abca5c8eee95) Addresses part of issue: #107
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters