I have tried different methods even tried reducing redundant unnecessary codes in my application but he combination between kivy and all the modules I am currently using to make a download manager out of python. I have found solutions to some very troubling issues in the past on my own in the past but now I just need someone to take a look at my code and tell me what I am missing because I thought python is supposed to be fast. please just check my github and talk to me. I am new and its frustrating.
Asked
Active
Viewed 33 times
0
-
Are you using threads or processes? Threading can improve performance, but has limited capability for CPU bound processes [see GIL](https://stackoverflow.com/questions/46210945/python-multithreading-and-global-interpreter-lock). Using processes instead of threads can improve performance for CPU bound processes, but it has overhead and is a bit more difficult to use. – John Anderson Jan 03 '22 at 18:01
-
A combination of both for different methods within – stephen telian Jan 04 '22 at 06:17
-
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Jan 11 '22 at 14:21
1 Answers
0
I haven't looked at the GitHub repo, yet. However, a method my mind immediately jumped to was multi-threading.
Check this out: https://realpython.com/async-io-python/
Kían
- 40
- 6