WIP: Optimize scrolling performance (10-25x faster) #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "optimize-scrolling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Performance Improvements
This PR significantly improves scrolling performance through direct buffer manipulation and pre-calculation optimizations.
Changes Made
1. Optimized
Scroll()Method2. Optimized
ScrollLetter()MethodBenefits
Compatibility
Technical Details
The optimizations work by operating directly on the NeoPixel buffer using bytearray slicing instead of making hundreds of individual function calls. This is much more efficient as it:
Testing
Recommended testing:
Pull request closed