This code is the hot spot for CSE and so it is better to avoid any needlessly expensive function calls.