Time is what we want the most, but what we use the worst. -- William Penn
Robin John wrote: Besides readability, is there any performance improvement using the second code ?
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.