#5: Improve function inlining