Perform some computation inline rather than delegating to some functions.