canvas-hypertxt
canvas-hypertxt copied to clipboard
performance optimization with maxLine
- ability to opt-out from cache mechanism, in a scenario when there is too much text in the screen and the user scrolls over it, creating and maintaining cache makes it more slower
- Introduced maxLine argument to terminate loop after generating specific line data, improving efficiency for long texts, such as 1000 lines, when only a small portion is displayed
@jassmith, could please review this?
Absolutely