From the linked article:
>In no way, shape, or form am I making a case that avoiding function calls alone directly helps performance.
Carmack argues that inlining (small) functions can reduce bugs in handling state by making the logic easier to follow and eliminating any possibility of others calling intermediary functions.