Improve performance of large tables #789
Unanswered
Clumsyndicate
asked this question in
Q&A
Replies: 1 comment
-
To add, if I want to limit the amount of rows loaded, such as introducing pages, how do I know how many rows would be shown on the screen so I would only supply that exact number of rows to the Table Element? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use a ftxui::Table to display large amount of rows that are continuously updated. Upon every network update I would update an underlying std::vector<std::vector> .
Since there are a lot of rows, I'm having trouble with performance. Navigation (arrow up / down in a yframe) is very slow, despite technically ftxui only need to render the rows that can be shown in the screen.
I tried reading your jsontui code, when I tried it out it doesn't have navigation lag nearly as bad as my code, but I'm having trouble contrasting with my implementation and identifying the cause of the lag.
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions