How to actually make your Python code run faster?
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
CLARIFICATION: At 10:31 I meant to say "multiprocessing" and not "multithreading". I just realized it after uploading it to CZcams 🤦🏽♂
Best explanation I have ever seen.
I understand better now.
Damnn!! Really amazing video!!
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)
python is finally fast... Yay
Lemme introduce mojo
The explanation is very comprehensive. I learned a lot. Thank you and I subscribed.
Incredible explanation, it'll be of so much use to meee
Great video. Well done.
Well done with explaination, good job
Very deep video❤
Nice one ❤
Please do a video about async
Nice one
Can you create a powerful ddos tool for education purposes . Btw video is amazing 😊
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
great
Discord bot is much faster than CZcams notification
mojo on fire 🔥😅
😁
Tech Raj do something to grow your views again ❤ your video not spreading
Lamest explanation ever.. first explain what is thread ? Explain about process etc