Hacker News new | ask | show | jobs
by 0x000xca0xfe 634 days ago
Well I'm not here to debate the API cleanliness, I just wanted to point out to OP that Python can utilize multicore processors without threads ;)

Here is the part of multiprocessing I used:

  with Pool() as p:
      results = p.map(calc_func, file_paths)
So, pretty easy too IMO.