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 Наука
CLARIFICATION: At 10:31 I meant to say "multiprocessing" and not "multithreading". I just realized it after uploading it to RUclips 🤦🏽♂
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)
The explanation is very comprehensive. I learned a lot. Thank you and I subscribed.
Best explanation I have ever seen.
I understand better now.
Incredible explanation, it'll be of so much use to meee
Well done with explaination, good job
Great video. Well done.
python is finally fast... Yay
Lemme introduce mojo
Please do a video about async
Very deep video❤
Nice one ❤
Nice one
Can you create a powerful ddos tool for education purposes . Btw video is amazing 😊
great
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
Discord bot is much faster than RUclips 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