After working with people to debug perf issues on storm, I am more reluctant to use a function call where an if statement will do. Same with core code in scalding: I've been putting in while (or tailrec) loops where I might have done allocations and function calls.