Rémy HUBSCHER
Rémy HUBSCHER
More interesting research here: https://ren.zone/articles/safe-money
Yes you are exactly right.
with [`asyncio.gather`](https://docs.python.org/3/library/asyncio-task.html#running-tasks-concurrently)?
You might want to watch my talk about IO Bound and CPU Bound mixes: https://www.youtube.com/watch?v=eJBbM3RpEUI
To elaborate a little bit. # Single processing unit If you don't mind having a single process computational CSV hasher. You can use aiofile to read your files line by...
@scheung38 I added the code in my previous message.
I am going to let you try on your huge CSV files and tell us, it might be interesting. For small files you won't see the difference. For huge ones,...
It seems you are using Windows, so you cannot exec a unix process from there.
Your code is wrong for the async test :joy: ``` FILES = ( "Y:\\sample.csv", ) actions = [hashlib_file(FILES[0]) for _ in range(1000)] results = await asyncio.gather(*actions) for filehash, filename in...
 I was thinking of something like that.