All about MEMORY // Code Review
https://www.youtube.com/watc...Keep exploring at https://brilliant.org/TheCherno/ Get started for free, and hurry—the first 200 people get 20% off an annual premium subscription.
Patreon ► https://patreon.com/thecherno
Instagram ► https://instagram.com/thecherno
Twitter ► https://twitter.com/thecherno
Discord ► https://discord.gg/thecherno
Code ► https://github.com/St0wy/GPR4400-PhysicsEngine
Designing a Physics Engine in 5 minutes ► https://youtu.be/-_IspRG548E
Send an email to chernoreview@gmail.com with your source code, a brief explanation, and what you need help with/want me to review and you could be in the next episode of my Code Review series! Also let me know if you would like to remain anonymous.
CHAPTERS
0:00 - 2D Physics Engine
13:17 - Heap allocation, memory fragmentation and the CPU cache
18:30 - Logging performance considerations
23:12 - Smarter memory allocators
29:12 - Allocate memory once ahead of time when possible
This video is sponsored by Brilliant.
#CodeReview