Which of the following extracts of code is more efficient / overall better?

Original message was deleted