How to actually make your Python code run faster?

Sdílet
Vložit
  • čas přidán 29. 05. 2023
  • Checkout Bluehost and get your website online without any hassle: bluehost.sjv.io/techraj
    In this video, I demonstrate how to make your python code run faster. I conducted an experiment to test the performance difference between a single thread program, a multi thread program, and a multi process program.
    The results give you a clear idea on how to write optimized code and make your code run faster.
    Check out the code that I've written in the video: github.com/teja156/python-mul...
    Thanks for watching!
    SUBSCRIBE for more videos!
    Join my Discord: / discord
    Follow me on Instagram: / teja.techraj
    Website: techraj156.com​​​​​
    Blog: blog.techraj156.com
  • Věda a technologie

Komentáře • 22

  • @TechRaj156
    @TechRaj156  Před rokem +5

    CLARIFICATION: At 10:31 I meant to say "multiprocessing" and not "multithreading". I just realized it after uploading it to CZcams 🤦🏽‍♂

  • @dannytutor6383
    @dannytutor6383 Před rokem +2

    Best explanation I have ever seen.
    I understand better now.

  • @TechnicalRNP
    @TechnicalRNP Před rokem +2

    Damnn!! Really amazing video!!

  • @sreenivasan7207
    @sreenivasan7207 Před rokem +2

    We can simplify the whole multithreading code into two line of codes
    with concurrent.futures.ThreadPoolExecutor(max_workers=number_of_threads) as executor:
    executor.map(function_to_check, list_of_passwords)

  • @Shibshankar_Roy
    @Shibshankar_Roy Před rokem +6

    python is finally fast... Yay

  • @thedudegotfourviews
    @thedudegotfourviews Před 4 měsíci

    The explanation is very comprehensive. I learned a lot. Thank you and I subscribed.

  • @GabiBrawl
    @GabiBrawl Před 8 měsíci +1

    Incredible explanation, it'll be of so much use to meee

  • @silentassassin86
    @silentassassin86 Před 2 měsíci

    Great video. Well done.

  • @riccardozappitelli450
    @riccardozappitelli450 Před 2 měsíci

    Well done with explaination, good job

  • @TechnicalHeavenSM
    @TechnicalHeavenSM Před rokem

    Very deep video❤

  • @bheeshmasenareddy8852

    Nice one ❤

  • @vignesh_waran
    @vignesh_waran Před rokem +1

    Please do a video about async

  • @honutse
    @honutse Před rokem

    Nice one

  • @xxehacker
    @xxehacker Před rokem

    Can you create a powerful ddos tool for education purposes . Btw video is amazing 😊

  • @rashmikaavedios
    @rashmikaavedios Před rokem

    Bro plss sloven this problem in when i open my file explorer it is showing ip address pf another network connected and normally iam using Wi-Fi having another ip address both are different i want to remove this . Please explain this bro plss

  • @MdTareqMia-dl5fx
    @MdTareqMia-dl5fx Před rokem

    great

  • @SteveBClark
    @SteveBClark Před rokem

    Discord bot is much faster than CZcams notification

  • @moon911x
    @moon911x Před rokem

    mojo on fire 🔥😅

  • @ravindraladkat
    @ravindraladkat Před rokem

    😁

  • @moon911x
    @moon911x Před rokem

    Tech Raj do something to grow your views again ❤ your video not spreading

  • @ericyo1965
    @ericyo1965 Před rokem

    Lamest explanation ever.. first explain what is thread ? Explain about process etc