This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
Use buffer caches to save rendered pages and prevent unnecessary re-rendering #21
Labels
ui
User interface
Projects
Most of the code for saving and restoring ncurses buffers has already been added, but they are currently not being used. The idea is that once a page has been rendered using the page tokens, we want to quickly be able to show it again without going through each token again.
The buffer cache array can store a maximum of
MAX_PAGE_COLLECTION_SIZE
as defined by:TTT/src/shared.h
Line 8 in 2c833c4
TTT/src/ui.c
Lines 11 to 27 in 2c833c4
The text was updated successfully, but these errors were encountered: