Ursina slowed when using threading instead of "from direct.stdpy import thread" #616
Unanswered
kowshik1234
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Why can't you use thread from direct.stdpy? It's a direct replacement for python's threading module, except it's supported. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using the threading library instead of the
from direct.stdpy import thread
I am seeing insane lag and performance reduction. I am not sure what is special in the direct.stdpy and why is it reducing the performance. My app details are provided belowOn the contrary,
If I use the
from direct.stdpy import thread
for my application, then the animations are loading smooth but the COM port data which is being read is getting choked and the enqueuing and dequeuing speeds are very very poor.Please suggest how can I improve my speed for the animation without losing the threading for the COM port. Let me know if I confused you.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions