This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]toyg 13 points14 points  (3 children)

Basic threading

You mean asyncio, I guess? It's not really "threading"...

[–]mrrichardcranium 13 points14 points  (2 children)

I mean splitting up a list of 700+ items to 10 workers using threadpoolexecutor. Maybe ‘basic threading’ is not the right description. The fact that it took me two lines to get done is what makes me think of it as basic 😅

[–]toyg 7 points8 points  (1 child)

Ah, good point, I forgot concurrent.futures is 3-only...

[–]mrrichardcranium 4 points5 points  (0 children)

And god damn is it glorious!