Personally, I mix methods. I never look at optimization, as I think it won't make much difference in render time (if that's your query actually). So I just attach how I need something to work, and sometimes it is more like your first method, sometimes more like your second, or whatever works.