-
-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] render only changed component #137
Comments
The UI is drawn when new events have been added, and the queue has been emptied. I believe you shouldn't have to worry about performance. If 1000 events are sent at the same time, we won't render 1000 frame. Instead, we will empty the list of event, and then render one frame. Do you perceive any performance issues? |
@ArthurSonzogni thanks. I have yet to start the project. If we render only level 1, bid and ask, then there might not be a performance issue. if need to render l2 depth of market data, then it will have impact - because data changes in sub second interval. Initially I will conflate the data from producer thread. Let's see how it goes. Many thanks. |
closing for now. |
Hi, I came across this good library. I am thinking to write a coinwatch tui. mostly data source will be websocket. something like fx dashboard. is it possible to render the only box instead of whole laytout from other thread ? I see screen.Post(...) seems to render everything.
Please correct me If I am wrong, asking for suggestion best way to layout this fast ticking data.
The text was updated successfully, but these errors were encountered: