I know that use a method instead of doing everything line after line is much more clear, so let’s just put this assumption apart.
I was asking myself if doing the same thing calling a method take more time (for the call to the method) or not, imagining that the bytecode generated is the same.
Theoretically, yes, for the most part, you are creating a new stack frame to carry out the calculations. Practically, no you’re pretty much not gonna notice the performance hit. A full discussion of this question is a bit more complicated and it has to do with under the hood performance of the generated byte code and machine/virtual machine it is running on.