41 Comments

  • SOME CAN'T Labs

    November 1, 2022 - 9:43 pm

    This is useful.

    More HORSEPOWER…

  • Czupryn013

    November 1, 2022 - 9:43 pm

    If i have an lost of x,y coordinats and i need to calculate distance between each one of them. so to make it faster i cut the 1000 elements array into 5 samller 200 elemnts arrays. than how do i make fisrt core process 1 array, second core the 2 one and so on?

  • FlyBuy _

    November 1, 2022 - 9:43 pm

    THANK YOU MY BROTHER FROM ANOTHER COUNTRY AND ANOTHER FAMILY!!!

  • John Kramer

    November 1, 2022 - 9:43 pm

    How "Unlocking your CPU cores in C (feat. multiprocessing)……???"

  • Salman KHAN

    November 1, 2022 - 9:43 pm

    Thank you! <3

  • MAHESH CHARY INDRAKANTI

    November 1, 2022 - 9:43 pm

    I was looking for a normal crack for a long time and stumbled upon yoWay…

  • S7 GAMING

    November 1, 2022 - 9:43 pm

    This helped a lot thank you

  • PlAy S

    November 1, 2022 - 9:43 pm

    Great video, the program works great

  • Piotr Adamczyk

    November 1, 2022 - 9:43 pm

    I was looking for this kind of lessons for years. please do more.

  • MAHESH CHARY INDRAKANTI

    November 1, 2022 - 9:43 pm

    took me a while due to mistake, but it works thanks

  • Ashraf Salah

    November 1, 2022 - 9:43 pm

    all is good

  • De Waard

    November 1, 2022 - 9:43 pm

    There is so much python I don't know yet.

  • Dmnc Räthermänn

    November 1, 2022 - 9:43 pm

    Is it recommendable to use a queue instead of a list to store the items? Every threat or process gets an item off the queue?

  • Jesús Cobos

    November 1, 2022 - 9:43 pm

    Love your videos. I usually watch all of them just for fun but this has enabled me to speed up a very heavy optimization for my science stuff. Ty for your dedication. I can ensure that it has real world implications 🙂

  • Hax

    November 1, 2022 - 9:43 pm

    Soo, what do you do of the object isn't pickable?

  • Stop Bugging Me Google I Hate You

    November 1, 2022 - 9:43 pm

    Great video. I was not aware of that module! As it happens, I've spent the last six weeks writing something that can run thousands of processes and aggregate the results. I'm not going to throw it away after watching this video, but I will ponder how I might've designed it differently had I known.

  • PanJa

    November 1, 2022 - 9:43 pm

    Feat.
    Force idling all of your CPU cores, while doing minimal useful work.

  • HunterAP

    November 1, 2022 - 9:43 pm

    I'm sure you have something in the works, but do you have any plans to cover the concurrent.futures thread pool and process pool classes? I was looking into their underlying code, and I can't really tell why they perform so much better than regular thread/process pools from the multiprocessing and multiprocessing.dummy libraries

  • Le fyziks guise

    November 1, 2022 - 9:43 pm

    While I'm not using multi-threading in my current work, I'll definitely save this video so I can one day return to it!

  • Botond Kalocsai

    November 1, 2022 - 9:43 pm

    Can async be used in conjuction with multiprocessing?

  • mark cuello

    November 1, 2022 - 9:43 pm

    HELP

  • MEGAS

    November 1, 2022 - 9:43 pm

    really appreciate this, struggled understanding differences between map and imap…

  • mark cuello

    November 1, 2022 - 9:43 pm

    HELP

  • Creative

    November 1, 2022 - 9:43 pm

    (Lo-Fi, Trapsoul, CNice tutorialllstep, Trip Hop, Rap, Trap, Nice tutorialp Hop)

  • dude weed

    November 1, 2022 - 9:43 pm

    What’s your opinion on the thread module? In the past I’ve made classes that extend thread, define a run method, then call start and join on the objects.

  • Max Tulgaa

    November 1, 2022 - 9:43 pm

    Thx

  • anihilat

    November 1, 2022 - 9:43 pm

    Great Video!

  • Kamel

    November 1, 2022 - 9:43 pm

    I had to solve a complex problem similar to this and ended up needing to use a specific sequence of queues and workers to solve it. I think I ended up with 6 total workers, each with a "parent" worker flowing into it. I think it would be neat to showcase something like this

  • Mateusz R

    November 1, 2022 - 9:43 pm

    My CPU is about to get abused >:))

  • William R. Buckley

    November 1, 2022 - 9:43 pm

    Sorry, but you lie to those who listen to your words. Computed values are at best pseudorandom, yet you claim that they are random. My suggestion to you is that you properly use the English language.

  • The upsilon initiative

    November 1, 2022 - 9:43 pm

    Well, your first mistake is that you chose python Lmfao. But seriously, use a compiled language for better efficiency

  • Riccardo Capellino

    November 1, 2022 - 9:43 pm

    I tested this on my old code used for my thesis, which basically performs the same calculation hundreds of times with no I/O (calculates flows in a aircraft engine turbine stage). Took me 10 minutes to adjust the code and made it 40% FASTER

  • Etop Owertwon

    November 1, 2022 - 9:43 pm

    Multiprocessing helped me a lot recently. I had a script that periodically loads lots tons of small XML from netshare, process them and save locally, single thread ran in 30 seconds, multiprocessed ran in about 6 seconds.

  • Slava

    November 1, 2022 - 9:43 pm

    Great! Now I can program your coffee machine on python to make me more than just 1 cup at a time

  • Will Murphy

    November 1, 2022 - 9:43 pm

    Cython gets around this with using the, "with nogil" statement. You can actually get true multi-threading with Cython but you best brush up on your C knowledge.

  • thethiny

    November 1, 2022 - 9:43 pm

    I just came here to ask you to please stop saying toooople and say tupple instead.

  • necraduq

    November 1, 2022 - 9:43 pm

    Awesome! What about using apply_async vs map?

  • Percy the Magic Penguin

    November 1, 2022 - 9:43 pm

    I'm kicking myself for not learning this stuff earlier.

  • Seth E

    November 1, 2022 - 9:43 pm

    You should do a video on using logging alongside with the multiprocessing pool

  • Robert Brummayer

    November 1, 2022 - 9:43 pm

    Great video! Man, your videos are awesome. And every time I learn a little bit and get a little bit better, like you say 🙂 Best wishes from Austria!

  • Taktician

    November 1, 2022 - 9:43 pm

    Laughs in Golang

Comments are closed.