Comments (3)
The UI is drawn when new events have been added, and the queue has been emptied.
This is why we use PostEvent(Event:Custom) => to force rendering a new frame.
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?
from ftxui.
@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.
from ftxui.
closing for now.
from ftxui.
Related Issues (20)
- The scrollbar doesn't work in the "homescreen.cpp" demo HOT 3
- [feature request] Scatter plots HOT 1
- Dynamically adding elements to Checkboxes HOT 5
- Correctness of layout requirement for flexbox. Scrollbar implementation. HOT 1
- I've tried everything. I need help HOT 1
- Compression priority when rendering a vbox with inadequate space. HOT 2
- lifecycle problem HOT 2
- Final link failed: Bad value HOT 3
- Fix for Visual Studio color and bgcolor unresolved symbols HOT 1
- Modal windows, what am I doing wrong? HOT 2
- Catching events for nested components HOT 2
- window element with light border style HOT 2
- Adding interactive component into a table HOT 4
- CtrlH not work but others CtrlA,CtrlB... can HOT 1
- Changes cursor in underlying terminal
- RGBA's Alpha not work in alacritty HOT 3
- How to scroll elements , not components HOT 2
- "input" example allows line breaks in phone number HOT 1
- Creating a table with 2 columns HOT 7
- Knob Support HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ftxui.