© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Sébastien Portebois
Software architect at Ubisoft
To add more about
Avoid heap memory allocation
It also helps to know your language/compiler: if it supports tail call optimization, then you can do recursive call and avoid the memory footprint you would usually get from many recursive calls