Inlining optimization