All Questions
Tagged with parallel-programmingpython
5 questions
3votes
3answers
2kviews
How can I improve the speed of scanning multiple directories recursively at the same?
So I am trying to speed up my program by using concurrency and/or multi-threading and/or process parallelism. The topics are pretty complex and I am sort of new to them so I am still trying to figure ...
2votes
2answers
10kviews
Is python list comprehension using multi-threading or parallelized in any way by default?
When I write... l2 = [my_computation(x) for x in l] ..., I wonder if python is applying my_computation to every x using all cores of my CPU. If not, why ? Is there a simple way to make python ...
1vote
1answer
2kviews
Is the logic behind `Asyncio.wait()` and async/await, the same, just the code is written differently (syntax)?
I'm learning Python, more specially parallel programming using Python Parallel Programming Cookbook by Giancarlo Zaccone. At the time the book was published async/await was still in the beta version ...
-1votes
1answer
1kviews
Extracting data from log files
I will be extracting certain bits from log files using regular expressions to filter out bit of data. Initially I was going to do this with Python. I later started to think about the fastest way I can ...
17votes
2answers
26kviews
Debug multiprocessing in Python
What are some good practices in debugging multiprocessing programs in Python?