Honestly, I never waste my time with such questions that will obviously not make any difference at all. I prefer to write clean and maintainable code. For example, if one day I add another line to the setView function, I'll be happy because the current code will still work. Whereas your "optimized" code won't.