Yes, your way is more efficient. :)