I don't imagine there'd be much (if anything) difference. It is good practice to break code into smaller logical chunks however, it makes it easier to read, more re-usable and crucially easier to test - you should read up on "unit testing", I suspect that it will appeal to you.

In general, you should aim to write clear, legible and easy to follow code. Optimize later and then only if there's an issue, premature micro-optimisation is a colossal time waster