It is completely irrelevant which solution performs better. Computers are blazing fast and CPU cycles are cheap, therefore millisecond optimizations are pointless. The only real optimization is the one that helps you read the code faster, so you can save your precious time and focus on actually delivering working code.