Python Forum
How much multi-threading should be done?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How much multi-threading should be done?
#2
(Apr-17-2018, 12:00 PM)IAMK Wrote: Let's say I have 5 nested for loops, all of which loop 100 times.
None. 100 is a tiny number.

But basically, my rule of thumb is to avoid it at all costs unless it's absolutely 100% needed. And then, using a Process Pool is probably easier than spinning up dozens of processes/threads manually.
Reply


Messages In This Thread
How much multi-threading should be done? - by IAMK - Apr-17-2018, 12:00 PM
RE: How much multi-threading should be done? - by nilamo - Apr-17-2018, 04:13 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020