Programming Throwdown cover image

Optimization

Programming Throwdown

00:00

Keeping Your Code as Compact as Possible

The processor itself also will learn in what's called branch prediction yso if you have an f statement, for instance, if ah, the code has thrown an exception. And so as you go through that loop more and more times, you'll get better speed. This also has to do with what weretalking about before, keeping your code kind of as compact as possible - especially when there's many, many iterations you need to do.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app