Make Python code 1000x Faster with Numba

  Рет қаралды 437,873

Jack of Some

Jack of Some

Күн бұрын

In this video I introduce Numba which can make your python code 1000x faster. Numba is a just in time compiler for a subset of Python and Numpy. The first half of the video is dedicated to a basic intro and to highlighting a number of very common mistakes people make when using Numba. The remaining video show how to use Numba in a real world-ish simulation problem and shows the code running 1000x faster with Numba in both single and multithreaded cases, and concludes with a "reading list" for learning more about Numba.
Twitter: / safijari
Find the notebook here: gist.github.com/safijari/fa4e...
MY OTHER VIDOES:
○ A.I. Learns to play Snake • Neural Network Learns ...
○ 5 Common Python Mistakes: • 5 Things You're Doing ...
○ 5 Amazing Python Libraries: • Five Amazing Python Li...
○ Making Python fast: • Can VSCode be a reason...
○ Learning programming language Julia: • How to learn Julia, a ...
Deeper topics to discover here
numba.pydata.org/numba-doc/de...
Supported python and numpy features
numba.pydata.org/numba-doc/de...
numba.pydata.org/numba-doc/de...
Important differences from python numba.pydata.org/numba-doc/de...
Defining types to compile at definition time: numba.pydata.org/numba-doc/lat...
Function factories numba.pydata.org/numba-doc/de...
Experimental version of jitted classes numba.pydata.org/numba-doc/de...
Debugging numba.pydata.org/numba-doc/de...
Dealing with types numba.pydata.org/numba-doc/de...
Ahead of time compilation for deployment numba.pydata.org/numba-doc/de...
Using approximate fastmath numba.pydata.org/numba-doc/de...
Deeper control of threading via tbb and/or omp numba.pydata.org/numba-doc/de...
Easily put your computation on a GPU!
numba.pydata.org/numba-doc/de...
numba.pydata.org/numba-doc/de...
F.A.Qs numba.pydata.org/numba-doc/de...
#numba #programming #python

Пікірлер: 684
@gdsvsrv
@gdsvsrv 3 жыл бұрын
finally, my print("hello world") can run at the speed of light!
@felicytatomaszewska2934
@felicytatomaszewska2934 2 жыл бұрын
That's not true
@MartinoxxHD
@MartinoxxHD 2 жыл бұрын
@@felicytatomaszewska2934 no way
@dv_interval42
@dv_interval42 2 жыл бұрын
This meme is much closer to the truth than people would think.
@hanchen2355
@hanchen2355 2 жыл бұрын
You can’t because it’s IO
@aryanmn1569
@aryanmn1569 2 жыл бұрын
@@dv_interval42 how?
@MichaelKudlatheInterested
@MichaelKudlatheInterested 3 жыл бұрын
Amazing, amazing video. As a PhD student, I'm sure you've saved me much more than 8 hrs of compute.
@JackofSome
@JackofSome 3 жыл бұрын
I expect a co-author ship on all your papers now 👀
@sorry4all
@sorry4all 3 жыл бұрын
Lol
@senwang1982
@senwang1982 3 жыл бұрын
@@JackofSome fair enough😂
@alexp6013
@alexp6013 3 жыл бұрын
I've once had code run for 48h, so I fully believe that it could be true
@username42
@username42 3 жыл бұрын
@@JackofSome i think he will thank you in the acknowledgement part in his thesis for sure :)
@klioseth4336
@klioseth4336 3 жыл бұрын
Seriously this is brilliant. By applying this to the 3 main functions of a 1500 lines project I went from a 24 minutes runtime to about 20 seconds. that's 70X faster for a day's work (it'd be faster now that I learned the more complicated details). The C++ equivalent of the code does it in about 15 seconds.
@tronali5703
@tronali5703 4 жыл бұрын
One thing to note is that Numba really optimizes nested loops. If you say have to call a function a 100 or million times, better to have an outerloop instead that iterates within the function. With parallel turned on, you can see a 1000x increase.
@JackofSome
@JackofSome 4 жыл бұрын
This actually makes a lot of sense. Thanks for the comment!
@chriskeo392
@chriskeo392 2 жыл бұрын
This is crazy! Awesome
@AlexanderHyll
@AlexanderHyll Жыл бұрын
Its one of the only ways to run the notoriously slow nested loops in Python (whenever it can’t be vectorized). We had a simulation to run that went from 81 days pure python to 2h (~1000x).
@ger15100
@ger15100 3 жыл бұрын
Numba really is great. Here is my first experience with it: I have some code that I estimated would take up to half a year to run. With some minor changes to the code for compatibility with Numba, the run time for the same conditions was up to 1.5 hours. This was a game-changer for me as I needed to run this script many times. One of my colleagues also implemented it into his machine learning code and managed to obtain some significant speed bumps.
@irok1
@irok1 3 жыл бұрын
Finally, this is what Python has needed
@raycao88124
@raycao88124 3 жыл бұрын
Just use C🤣
@JackofSome
@JackofSome 3 жыл бұрын
cPython is already "just use C" so not quite
@tsunekakou1275
@tsunekakou1275 3 жыл бұрын
python doesn't need to be faster, it designed to be simple not efficient. there are plenty other programming languages that designed to be efficient like C, C++ that has proved themself. sure they are hard to learn but trying to get python faster is just like reinvented the wheel, learning C++ from scratch in my opinion is much more beneficial in long term than trying to make python faster because essentially you are learning the same things but you won't get far with python.
@tando6266
@tando6266 3 жыл бұрын
@@tsunekakou1275 Couldn't disagree more, for a lot of science we are paid to do things, not write c++ libraries to do things. As much as I like C++ it is woefully inadequate for a research setting with deadlines.
@tsunekakou1275
@tsunekakou1275 3 жыл бұрын
@@tando6266 which points?
@saurabhpareek3310
@saurabhpareek3310 3 жыл бұрын
I am in tears to see my code run so fast, thank you so much for this video
@AnthonyThomas_Ant
@AnthonyThomas_Ant 3 жыл бұрын
Liked and subscribed. The length and pace of the video were spot on, especially as you’ve shared the notebook.
@valente.victor
@valente.victor 3 жыл бұрын
This is one of the best programming-related video tutorials I've ever seen. No-nonsense style, very direct and still computationally rigorous. Awesome stuff!
@kaandonbekci6414
@kaandonbekci6414 3 жыл бұрын
Similar to other commenters, I have to say this is one of the best KZfaq tutorials on writing fast Python code. Great buildup to the mic drop moment, amazing progression. Jack, I hope you make it big in the CS-tutorials KZfaq space and have a great day.
@JackofSome
@JackofSome 3 жыл бұрын
Thanks for the kind words. Videos have been recommended a lot lately so fingers crossed.
@jafarjuneidi7585
@jafarjuneidi7585 3 жыл бұрын
I already had a background in Numba but I thoroughly enjoyed this video and learned some useful details as well. I'd be glad to see some more python related videos from you
@joshuatyler4657
@joshuatyler4657 2 жыл бұрын
I implemented it in my code, and it took around an hour worth of computation and put it down to 30 seconds. Amazing stuff.
@JackofSome
@JackofSome 2 жыл бұрын
Nice nice!
@joshuatyler4657
@joshuatyler4657 2 жыл бұрын
@@JackofSome One funny thing that I found is that you can’t create numpy.linespace or numpy.arrange arrays with anything besides integers. I had to create an integer array, then divide it by 2 to make it a float32, and then populate it with a for loop to get the actual array I wanted. Also, numpy.zero arrays have to be initialized outside of the function and passed as an argument instead of being initialized in the array. But the extra work is worth the speed up.
@preyasurakshit3405
@preyasurakshit3405 2 жыл бұрын
I cannot thank you enough for this video. I made a simulation of Gray Scott's Reaction diffusion in python, but it was painstakingly slow. After using numba, it now runs quite fast. Earlier it took nearly about 1 hour to render just 100 frames at a mere 400x400 resolution, now it renders 100 frames in 45 seconds, in 1280x720 resolution. Thank you very much for this video.
@JackofSome
@JackofSome 2 жыл бұрын
That's amazing to hear! Glad it could be helpful. Would love to see the result.
@JackofSome
@JackofSome 2 жыл бұрын
If you're just trying to do convolutions then you might want to look into numba's own way for doing them. I forget what it's called but it's optimized specifically for the convolution operator
@id104335409
@id104335409 3 жыл бұрын
I nod my head with approving noises as if I understand what is going on.
@peterbonnema8913
@peterbonnema8913 3 жыл бұрын
Both Numba and this video are amazing. The video was really really clear and concise. I'm definitely gonna remember Numba for future projects.
@jmnunezd1231
@jmnunezd1231 4 жыл бұрын
One of the most awesome Python tutorials I have seen. The narratives, the examples and the way you explain it is just awesome, 5 starts to you man! keep on doing it!
@alperenyldz516
@alperenyldz516 4 жыл бұрын
True
@graemeford1333
@graemeford1333 3 жыл бұрын
Ah yay. Thanks for this. I must say Numba is very impressive. What I am most interested in though is applying it to a research setting which you helped a lot with as well! I am just happy that it was designed for scientific applications as well!
@mpilosov
@mpilosov 2 жыл бұрын
This was wonderfully clear and helpful! Thank you! My PhD involved running a lot of these forward problems under uncertainty, Lost much time trying to parallelize physics simulations and fighting with the GIL. Sometimes it is just worth waiting.
@boyuanchen4997
@boyuanchen4997 2 жыл бұрын
Simple, effective, to-the-point! Encountering a topic modeling problem that requires a lot of steps of training, I was about to try cython which would have taken a huge amount of time. Numba turned out to be ENORMOUSLY SIMPLER and equally effective. Many thanks to numba developers and Jack!!
@sirosala
@sirosala Жыл бұрын
Excellent video, in one day I implemented 80% of the code and strategies you explain. Very good ! Greetings from Rosario - Argentina.
@drepi57
@drepi57 2 жыл бұрын
Jack!!! Congrats for this fast, clear and insightful video. This is a game changer for me (I'm a Fortran 77...20** programmer now starting with python). Live long and prosper \\//
@raccoonteachesyou
@raccoonteachesyou 3 жыл бұрын
Damn, I love your Python videos ! Very interresting, you talk about stuff other don't. Thx man !
@muhammadanas1201
@muhammadanas1201 2 жыл бұрын
I had to submit a project in 2 days (that I had months to do but waited until the last minute) and in one piece of code, I needed to clean data of 6 million tweets. Regular python code showed runtime of 400+ hours (I used tqdm library for it). I got cold feet thinking I’m going to miss the deadline, but finally got the idea to search for ways to make the code faster. Found this library out on the internet and using it, I was able to run that piece of code in JUST 10 MINUTES. This library saved my project that day 👌.
@JackofSome
@JackofSome 2 жыл бұрын
Numba: enabling procrastinators since 2012 😂
@TimmyTam
@TimmyTam 3 жыл бұрын
I really thought the title was clickbait. It wasn't. This is honestly amazing, thanks for showing us this :D
@jackrdye
@jackrdye 3 жыл бұрын
Why didn't I find this sooner. I am still so glad I found it will 100% use this in the future. Literally had a situation identical to ur example a month ago needed to simulate over 160,000 situations. Was taking 11+ hours to run. I assumed there were better ways but I haven't had a lot of experience. Thanks for this very clear explanation
@eddantes_
@eddantes_ 3 жыл бұрын
Great video. The fact that you are sharing the jup notebook is amazing. Thanks a lot. Please consider making a follow up video with more complex applications of numba. For example, integrations!
@nitsanbh
@nitsanbh 2 жыл бұрын
This is one of the best intro/tutor videos I’ve ever watched on any subject
@syoudipta
@syoudipta 8 ай бұрын
After being skeptical about this library for a while, I've gotten used to it. I've watched many tutorials and read many articles and documentation. After weeks of determination to learn this technique properly,... I have become, comfortably Numba. 🤟
@Blooddarkstar
@Blooddarkstar 3 жыл бұрын
Very well explained and saved me from some mistakes. You deserve way more subscribers!
@dmgeo
@dmgeo 3 жыл бұрын
Thank you for your video. I work with satellite image processing and we are used to spend hours waiting for a particular processing task to finish... I for sure will be trying to use Numba
@dinoscheidt
@dinoscheidt 2 жыл бұрын
Awesome video. Simply forwarded this to two of my junior devs and they completely got it now. THANK YOU!
@lordtejas9659
@lordtejas9659 3 жыл бұрын
You deserve my like. Nice work sir. Now I can show to my friends how a optimizated and we'll written code looks like. Numba.
@MrRyanroberson1
@MrRyanroberson1 3 жыл бұрын
this is absolutely perfect because i just found this while running a really oddly intensive random number process (something like one million terms per second? i need billions) and numba sped it up by a factor of 100 halfway through the video, and with njit it didn't actually speed up any further, it just got a more consistent time (randomly jit is 10% faster or slower depending i guess on the random values
@jakubkahoun8383
@jakubkahoun8383 Жыл бұрын
This is the best Numba video, short , good examples etc.
@gabrielcesar568
@gabrielcesar568 3 жыл бұрын
Grad students from around the world are thankfull for this video.
@andylib
@andylib 3 жыл бұрын
This was awesome !! Sooo interesting, straight up going into this
@dishapandey96
@dishapandey96 3 жыл бұрын
Your way of explanation is very nice. Excellent video :)
@SomeFreakingCactus
@SomeFreakingCactus 2 жыл бұрын
These are some seriously impressive results. I wonder if this could give Python a niche in indie game development.
@RealLionTion
@RealLionTion 3 жыл бұрын
YES, I LOVE PYTHON AND THIS IS PERFECT THANK YOU MATE
@hunt9556
@hunt9556 3 жыл бұрын
Nice tutorial, I'm gonna try numma in my plasma physics simulations
@user-bf4kb5hm4n
@user-bf4kb5hm4n 3 жыл бұрын
Thanks for your introduction! This really helps me. I have been working with Numpy but it is too time-consuming. Working with Numba is really fantastic, my Python module runs more than 1000x faster than the original one.
@Xaminn
@Xaminn 2 жыл бұрын
Recursive Fibonacci will truly get ya.
@b992152
@b992152 4 жыл бұрын
Great video mate. Really enjoyed it
@vishawashkumar5159
@vishawashkumar5159 3 жыл бұрын
This needs much more views.. This is a revolution..
@MisterFresh022
@MisterFresh022 2 жыл бұрын
What an amazing video. I'm a student in Computer Science and we just did a week ago an introduction to Numba. And you sir not only explained to me the concepts in a positive astonishing way, but also gave me the desire and the excitement to apply it on all my old and future codes. Thanks you ! PS : Is there more videos where you're explaining the others topics ( convolution, neural networks .. )
@JackofSome
@JackofSome 2 жыл бұрын
Great. I hope you share it with your class :) Unfortunately no other videos on Numba
@janewan1196
@janewan1196 2 жыл бұрын
Thank you so much! I was trying and failing to turn to C++ for number crunching, but this has just saved me!
@trizzzzlez
@trizzzzlez 2 жыл бұрын
I came back to say a huge thank you. currently doing my Phd. my code was to run 300k iterations it took like 3days+. your short video changed everything, i took few hours to rewrite the code to suit numba as you explained. boom 2hrs i have results on the screen instead of 3days+
@JackofSome
@JackofSome 2 жыл бұрын
That sounds amazing. Please be very careful and do consistency checks between the two codes. Don't wanna find out there was an issue when you're writing your dissertation 😅
@trizzzzlez
@trizzzzlez 2 жыл бұрын
@@JackofSome yes I will jack thank you.
@frodobaggins3974
@frodobaggins3974 3 жыл бұрын
11:45 - try this: np.zeros_like(input_list, dtype = np.int64, order='C') My experience with numba - it works great, but types have to be very precisely defined for every single object. Otherwise nopython will fail, and where numba sucks is generating traceback messages - in the case of complex functions it will take forever to debug. So type whatever you can - it is not a 'Pythonic' way of thinking and writing, but in this particular case it is necessary. Anyway, great introduction!
@JackofSome
@JackofSome 3 жыл бұрын
Thanks for the tip, and best of luck on your journey to mount Doom. We're all counting on you.
@0.Andi.0
@0.Andi.0 2 жыл бұрын
Hi, I have a question, how can I declare like a type so numba can compile it? For example I have a vector3 class that cannot compile with numba (class with x,y,z components)
@mariomuysensual
@mariomuysensual 2 жыл бұрын
@@0.Andi.0 use numpy arrays instead
@Meodoc
@Meodoc 2 жыл бұрын
I really liked that you stayed real and just said that you aren't qualified to comment on why the python loop with the numpy array took so much longer to execute than just saying something with the risk of talking bullshit and spreading misinformation in order to sound competent, a behaviour I have seen way to often online and which bothers me quite much. Very great, clear tutorial, truly one of the best python tutorials I have seen so far on KZfaq. Keep it up! :)
@JackofSome
@JackofSome 2 жыл бұрын
Nice. Yeah it's always better for me to just say "I don't know" when I don't know :)
@Meodoc
@Meodoc 2 жыл бұрын
@@JackofSome Love it 🙌
@adityanjsg99
@adityanjsg99 Жыл бұрын
Presentation level is ingenious!
@jamesmarchetti3305
@jamesmarchetti3305 Жыл бұрын
My new fav channel. Have you done a video talking about your Linux setup? If not I would love to see it/could you share some info?
@SumitSingh-pu9hd
@SumitSingh-pu9hd 2 жыл бұрын
Your video was that amazing and well executed that I was hypnotized to hit subscribe and like. Keep it going.
@MichaelBrown-gt4qi
@MichaelBrown-gt4qi 3 жыл бұрын
This is amazing. This completely changes python for me.
@dydufjfbfnddhbxnddj83
@dydufjfbfnddhbxnddj83 2 жыл бұрын
I didn't understand anything as a beginner to Python (after learning C,C++ and Java) but it looks really cool man. I will use this for python, especially in competitive programming
@Shane1994322
@Shane1994322 3 жыл бұрын
This video is concise and clear. amazing. Thank you!
@nahiyanalamgir7056
@nahiyanalamgir7056 Жыл бұрын
Amazing tutorial and Numba is a great software. I hope Python officially will one day ship with a compiler because the community got so huge that people often write performance-intense code in Python that goes against its nature. Moreover, it'd be amazing to ship a Python product statically compiled without gigabytes of libraries!
@evertonsantosdeandradejuni3787
@evertonsantosdeandradejuni3787 2 жыл бұрын
Holy shit, I'm sold. Examples on point, mic indeed touched the ground. Thanks for the tip
@dadogh
@dadogh 3 жыл бұрын
That's an awesome video. Thank you! I've been running orekit scripts which took me ~4h, and with numba there are taking ridiculously 2min!
@JackofSome
@JackofSome 3 жыл бұрын
Oh wow those are amazing gains! Glad I could help
@shahnawazazam
@shahnawazazam 3 жыл бұрын
Just make sure your cpu cores arnt too angy at you
@mkthakral
@mkthakral 2 жыл бұрын
Fist visit on this channel, but you are the best ;-)
@MVHiltunen
@MVHiltunen 4 жыл бұрын
numba is really sometimes absolutely stunning in it's acceleration per extra work.
@JackofSome
@JackofSome 4 жыл бұрын
That it is friend.
@PandemicGameplay
@PandemicGameplay 3 жыл бұрын
This is revolutionary. I always wanted a library to allow these but without the hassle of installing something like Cython, etc. Just a good ol' pip lib that can allow my code to speed up orders of magnitude. A nice bonus is the ability to release the GIL.
@AJ-et3vf
@AJ-et3vf 2 жыл бұрын
Heyy man! This is a very nice tutorial for numba! There are only few numba tutorials out there and I hope you could make a bit more. For example, I became interested in using numba to speed up my Runge-Kutta Algorithms that I coded myself, but I couldn't make it work. I would try to apply it on the for-loop part but it would throw an error that numba doesn't now the class function, something like that. Hopefully, an extensive numba tutorial would be made in the future.
@palermodpr
@palermodpr Жыл бұрын
Awesome video man!
@ecielyang9719
@ecielyang9719 Жыл бұрын
I have struggle for Numba for 3 days. This Vedic is really clear
@mengzhu8385
@mengzhu8385 2 жыл бұрын
Amazing video! I'm starting to think to give numba a try.
@pranavramesh7052
@pranavramesh7052 3 жыл бұрын
thank you i had a code which took like a whole 5 minutes to start running and now it is much faster
@satish-pokala
@satish-pokala 3 жыл бұрын
Very clean and informative video. Thank you 🙂👍🏻
@Rotem_S
@Rotem_S 3 жыл бұрын
As someone who tried numba and was disappointed I appreciate you showing possible causes and solutions for that
@KANGAR1982
@KANGAR1982 3 жыл бұрын
Great video! subscribed instantly after seeing it!!!
@thestralspirit
@thestralspirit 2 жыл бұрын
Why wasn't this video in my KZfaq recommendations a year ago? Nonetheless, this is an amazing tool for python. I wouldn't have found it without you!
@culperat
@culperat 2 жыл бұрын
Love the video, I'll definitely have to try this on some future projects.
@amir650
@amir650 Жыл бұрын
Thank you for this excellent presentation.
@maxmorehead1569
@maxmorehead1569 4 жыл бұрын
Really great video!
@ianh5537
@ianh5537 3 жыл бұрын
Awesome, thanks! Definitely going to start leveraging mumba!
@michaelc3650
@michaelc3650 2 жыл бұрын
Damn this is really cool, just came across it and it should definitely help in speeding up machine learning or ai projects
@vibhu8024
@vibhu8024 Жыл бұрын
I love how "incredibly fast" python code is pretty much about going back to c/c++ syntax.
@sasimitra5871
@sasimitra5871 3 жыл бұрын
I don't know why I need this. I'm still a High School student doing python for fun. But imma keep this tucked away in my mind. I have a feeling I'll need it soon enough.
@CrazyFanaticMan
@CrazyFanaticMan 3 жыл бұрын
When your'e working on projects that needs the program to do things fast, you want C like performance because low level languages like C/C++ are about as fast as you can get. Python is not a low level language. It's a high level dynamically typed language. This means it's pretty slow. So even though it's pretty fast to write a python program because it's basically the same as writing in English, you're giving up the actual execution speed (performance) in order to keep that fast typing speed (developer performance). Numba solves this problem by keeping the Python typing that we all love and getting the C like performance that is needed for projects where speed is very important.
@eskees9498
@eskees9498 3 жыл бұрын
@@CrazyFanaticMan so I'm also in high-school just doing python for fun. Is number useful for smaller projects or only for large projects. My biggest code is only about 80 lines of code, but it uses my Webcam to track hands. Would it be worth it to implement numba for this low amount of code?
@CrazyFanaticMan
@CrazyFanaticMan 3 жыл бұрын
@@eskees9498 It doesn't matter how many lines of code you have, whether it's 80 lines or a billion lines. What matters is the problem you are trying to solve. If for example you say "I want my webcam to not only accurately detect the location of my hands but I also want my webcam to track my hands if I move them really fast". I would imagine a webcam tracking hands that are moving really fast would require very fast performance speed in order to keep up. So in this case, numba may help you a lot. It all really depends on what you want and what your expectations are. The size of your program does not matter, numba can you help you whether you're program is big or small
@eskees9498
@eskees9498 3 жыл бұрын
@@CrazyFanaticMan thank you, I appreciate the info
@nacnud_
@nacnud_ 3 жыл бұрын
Great work dude!
@harshraj22_
@harshraj22_ 4 жыл бұрын
Awesome ! Thanks for this video.
@smjure
@smjure 3 жыл бұрын
Great video, learned a lot in 20 min, thanks!
@nobody2937
@nobody2937 2 жыл бұрын
Awesome explaination... Thank you ...
@robosergTV
@robosergTV 2 жыл бұрын
this is golden. You explain stuff very clearly and easy to understand. Please do more vids :) ps. do you still playing around with Reinforcement Learning? Does your job relate to it in any way?
@JackofSome
@JackofSome 2 жыл бұрын
Unfortunately that's a no on both counts. I do lots of deep learning work in my job but it's all related to object detection.
@pubgplayer1720
@pubgplayer1720 2 жыл бұрын
Nice, easy to understand.
@shkhrvarshney
@shkhrvarshney 2 жыл бұрын
Awesome tutorial! Thank you so much. I shared the video with my old Intro to Parallel computing professor. Hopefully he sees the email coming from non UW email id lmao. Video would be pretty helpful to any new(&old) students of the course.
@MarkBTomlinson
@MarkBTomlinson 2 жыл бұрын
Very interesting presentation and a great boon for an interpreted language.
@Epiphonication
@Epiphonication 3 жыл бұрын
that's fantastic, I used to resort to using my uni's HPC cluster to get some more speed but now it's so much faster even on my old thinkpad, thank you so much!
@JackofSome
@JackofSome 3 жыл бұрын
Wow ... If you're able to go from HPC cluster to a laptop those are ... Those are some massive gainz
@Epiphonication
@Epiphonication 3 жыл бұрын
@@JackofSome truly massive! I'm going to try numba + HPC soon, let's see how fast that goes
@JackofSome
@JackofSome 3 жыл бұрын
Them: nooo you can't write heavy workloads in pure python You: haha, numba go brrrrrr
@Epiphonication
@Epiphonication 3 жыл бұрын
@@JackofSome exactly my thought :D
@Prithvidiamond
@Prithvidiamond 4 жыл бұрын
Very nice, I like this!
@fadillahmaani7413
@fadillahmaani7413 4 жыл бұрын
Great video, thank you very much ! I hope that you will make numba tutorial for class too.
@TunkFey
@TunkFey 2 жыл бұрын
Thanks for sharing. This video is really a treasure!
@vanviethieuanh2237
@vanviethieuanh2237 2 жыл бұрын
your tutorial is amazing, thanks!
@MrProzaki
@MrProzaki 3 жыл бұрын
oh nice, you just gave me lots of work to do xDDDD time to change the whole project code... thanks :'D , no really i mean it THANK YOU it was a great vid will def look into that 10% for sure.
@Anonymous9683
@Anonymous9683 4 жыл бұрын
Brilliant video, thank you
@dyrevennen
@dyrevennen 2 жыл бұрын
Thanks for posting the video. I learned something new, and useful.:)
@luisenciso1762
@luisenciso1762 3 жыл бұрын
Very helpful video, many thanks :)
@Guilfordust
@Guilfordust 4 жыл бұрын
This was great, thank you!
@muhammadumaranzar3431
@muhammadumaranzar3431 Жыл бұрын
Amazing explanation
@foodsscenes5891
@foodsscenes5891 3 жыл бұрын
Awesome work!
@NKernytskyy
@NKernytskyy Жыл бұрын
Amazing Content!
@hectorminator4
@hectorminator4 3 жыл бұрын
Dude, I'm an aerospace engineer student currently taking my masters studies, and I have to program with python and some programs take some minutes to calculate, because I have to solve complex nonlinear equation systems, and that takes some time that makes me desperate, I'll definitely try this, thanks a lot
@sibyjoseplathottam4828
@sibyjoseplathottam4828 3 жыл бұрын
Thank you! You saved me a lot of time.
@geraldmerkowitz4360
@geraldmerkowitz4360 Жыл бұрын
Thanks for the tip, let's try it!
The Single Most Useful Decorator in Python
3:50
mCoding
Рет қаралды 373 М.
Ray: Faster Python through parallel and distributed computing
9:41
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 98 МЛН
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 278 М.
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 160 МЛН
Trágico final :(
01:00
Juan De Dios Pantoja
Рет қаралды 29 МЛН
Turn Python BLAZING FAST with these 6 secrets
5:01
Dreams of Code
Рет қаралды 30 М.
Diagnose slow Python code. (Feat. async/await)
9:57
mCoding
Рет қаралды 208 М.
How to actually make your Python code run faster?
12:02
Tech Raj
Рет қаралды 6 М.
1000x faster data manipulation: vectorizing with Pandas and Numpy
26:39
Massively Speed-Up Python Code With Numba Compilation
16:28
NeuralNine
Рет қаралды 49 М.
Just In Time (JIT) Compilers - Computerphile
10:41
Computerphile
Рет қаралды 257 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level Learning
Рет қаралды 530 М.
Unlocking your CPU cores in Python (multiprocessing)
12:16
mCoding
Рет қаралды 289 М.
Cython makes Python INSANELY FAST
19:08
Carberra
Рет қаралды 31 М.
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 98 МЛН