I'm a fan of small functions. I will always try to refactor my functions so that blocks of code turn into smaller functions. It makes my code more readable and it basically make comments useless because you can litterally read the code. Might not be optimal
speed-wise, but I'll take code that's easier to read over code that executes faster anytime I can. Unless of course speed is critical to the application being written!