forked from pimoroni/EnviroPlus-FeatherWing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First attempt at memory efficiency with use of fixed size circular bu…
…ffer pimoroni#19. A single list is now preallocated at a fixed size and not replaced with slices to reduce continual allocations and fragmentation. Includes fix for calling update() several times before draw(). The full_refresh implementation now only clears the bitmap when it scrolls. Removed the commented-out code.
- Loading branch information
Kevin J Walters
committed
Jan 6, 2021
1 parent
3b1a1d8
commit e4d8aa9
Showing
1 changed file
with
70 additions
and
65 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