i don't know which one is faster. but yours seems cleaner.