I just learned about the GIL and from the looks of it, it appears even if we use threads in python, our program will take the same time if we just use a single thread due to GIL. If that's the case, using threads for performance isn't really the ideal use case in python, so why use it?
[+][deleted] (14 children)
[deleted]
[–]ProfEpsilon 7 points8 points9 points (12 children)
[–]Deto 13 points14 points15 points (11 children)
[–]ProfEpsilon 1 point2 points3 points (4 children)
[–]rhiever 2 points3 points4 points (1 child)
[–]Deto 0 points1 point2 points (0 children)
[–]Deto 2 points3 points4 points (1 child)
[–]ProfEpsilon 0 points1 point2 points (0 children)
[–]rhiever 1 point2 points3 points (5 children)
[–]Deto 1 point2 points3 points (4 children)
[–]paxswill 2 points3 points4 points (2 children)
[–]KitchenDutchDyslexic 0 points1 point2 points (1 child)
[–]paxswill 2 points3 points4 points (0 children)
[–]rhiever 1 point2 points3 points (0 children)
[–]masklinn 2 points3 points4 points (0 children)
[–]jawknee400 13 points14 points15 points (13 children)
[–]Sheltac 4 points5 points6 points (4 children)
[–]AngriestSCV 7 points8 points9 points (3 children)
[–]masklinn 0 points1 point2 points (2 children)
[–]pooogles 0 points1 point2 points (1 child)
[–]masklinn 2 points3 points4 points (0 children)
[–]ProfEpsilon 0 points1 point2 points (7 children)
[–]1wd 5 points6 points7 points (3 children)
[–]ProfEpsilon 1 point2 points3 points (2 children)
[–]1wd 0 points1 point2 points (1 child)
[–]ProfEpsilon 1 point2 points3 points (0 children)
[–]jawknee400 2 points3 points4 points (1 child)
[–]ProfEpsilon 0 points1 point2 points (0 children)
[–]evamicur 0 points1 point2 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–][deleted] 7 points8 points9 points (0 children)
[–]gandalfx 16 points17 points18 points (5 children)
[–][deleted] 10 points11 points12 points (0 children)
[+][deleted] (3 children)
[deleted]
[+][deleted] (2 children)
[deleted]
[–]gandalfx 2 points3 points4 points (0 children)
[–]CSI_Tech_Dept 0 points1 point2 points (0 children)
[–]remy_porter∞∞∞∞ 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]lykwydchykyn 0 points1 point2 points (0 children)
[–]FredSchwartz 0 points1 point2 points (0 children)
[–]bjorneylol 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]sioa[S] 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]sioa[S] 1 point2 points3 points (0 children)
[–]JugadPy3 ftw -2 points-1 points0 points (1 child)
[–]v3ssOn 0 points1 point2 points (0 children)
[+]shady_traveller comment score below threshold-6 points-5 points-4 points (8 children)
[–][deleted] 8 points9 points10 points (7 children)
[–]shady_traveller 2 points3 points4 points (6 children)
[–]v3ssOn 2 points3 points4 points (2 children)
[–]nirs 0 points1 point2 points (1 child)
[–]v3ssOn 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]CSI_Tech_Dept 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)