Uploaded January 2015 | Updated November 2026, 3 hours ago
Unrolling loops reduces the amount of work an algorithm has to do. Often compilers can do this optimization themselves, but often they can't. Asymptotic running time aren't everything, it's important to also examine the constants of your running time.
Find the source code here: github.com/BSVino/MathForGameDevelopers/tree/optimization-loopunroll
New video every Thursday. Question? Leave a comment below, or ask me on Twitter: twitter.com/VinoBS
Unrolling loops reduces the amount of work an algorithm has to do. Often compilers can do this optimization themselves, but often they can't. Asymptotic running time aren't everything, it's important to also examine the constants of your running time.
Find the source code here: github.com/BSVino/MathForGameDevelopers/tree/optimization-loopunroll
New video every Thursday. Question? Leave a comment below, or ask me on Twitter: twitter.com/VinoBS










