Mahmoud Eltahawy
2014-04-06 13:49:09 UTC
Hi All,
I am developing an application which acts as a server for tracing data from
a client, it does the following:
- It receives the data continuously from the client over the socket
- Inside the socket notification event, I process the data and display
it to the grid(n rows x 7 columns),
- I append new rows to the gird for each new data
It works fine, but I see slowness when the grid becomes larger. so I am
just wondering for the best way to overcome this issue in slowness? I am
thinking to push the incoming data inside the socket event to a queue and
try to implement a worker thread which runs consonantly and pop the data
from the queue and then add it to grid?
Thanks
Mahmoud
I am developing an application which acts as a server for tracing data from
a client, it does the following:
- It receives the data continuously from the client over the socket
- Inside the socket notification event, I process the data and display
it to the grid(n rows x 7 columns),
- I append new rows to the gird for each new data
It works fine, but I see slowness when the grid becomes larger. so I am
just wondering for the best way to overcome this issue in slowness? I am
thinking to push the incoming data inside the socket event to a queue and
try to implement a worker thread which runs consonantly and pop the data
from the queue and then add it to grid?
Thanks
Mahmoud
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users