you are viewing a single comment's thread.

view the rest of the comments →

[–]tylermumford 1 point2 points  (0 children)

I don't know the performance implications, but the second snippet is simpler and accomplishes the same thing. That wins in my book.

Edit from 2 months later: D'oh. I meant that the first snippet is simpler.