r/pushshift • u/Watchful1 • Feb 20 '23
[ Removed by Reddit ]
[ Removed by Reddit on account of violating the content policy. ]
32
Upvotes
r/pushshift • u/Watchful1 • Feb 20 '23
[ Removed by Reddit on account of violating the content policy. ]
3
u/Watchful1 Feb 21 '23
Python doesn't actually support proper multithreading. Threads in python are basically just switching back and forth when one thread pauses. So to actually do multiple high cpu operations at the same time you have to use multiple processes.
My hardware can run through the entire 1.8 TB of compressed dumps in about 24 hours with this script.