How to actually make your Python code run faster?

Поделиться
HTML-код
  • Опубликовано: 29 май 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
  • НаукаНаука

Комментарии • 22

  • @TechRaj156
    @TechRaj156  Год назад +5

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

  • @TechnicalRNP
    @TechnicalRNP Год назад +2

    Damnn!! Really amazing video!!

  • @sreenivasan7207
    @sreenivasan7207 Год назад +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)

  • @thedudegotfourviews
    @thedudegotfourviews 3 месяца назад

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

  • @dannytutor6383
    @dannytutor6383 Год назад +2

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

  • @GabiBrawl
    @GabiBrawl 7 месяцев назад +1

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

  • @riccardozappitelli450
    @riccardozappitelli450 2 месяца назад

    Well done with explaination, good job

  • @silentassassin86
    @silentassassin86 2 месяца назад

    Great video. Well done.

  • @Shibshankar_Roy
    @Shibshankar_Roy Год назад +6

    python is finally fast... Yay

  • @vignesh_waran
    @vignesh_waran Год назад +1

    Please do a video about async

  • @TechnicalHeavenSM
    @TechnicalHeavenSM Год назад

    Very deep video❤

  • @bheeshmasenareddy8852
    @bheeshmasenareddy8852 Год назад

    Nice one ❤

  • @honutse
    @honutse Год назад

    Nice one

  • @xxehacker
    @xxehacker Год назад

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

  • @MdTareqMia-dl5fx
    @MdTareqMia-dl5fx Год назад

    great

  • @rashmikaavedios
    @rashmikaavedios Год назад

    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

  • @SteveBClark
    @SteveBClark Год назад

    Discord bot is much faster than RUclips notification

  • @moon911x
    @moon911x Год назад

    mojo on fire 🔥😅

  • @ravindraladkat
    @ravindraladkat Год назад

    😁

  • @moon911x
    @moon911x Год назад

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

  • @ericyo1965
    @ericyo1965 Год назад

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