I know it's a bit whiny post a comment about it, but I've spent the last 1½ hours writing an alternative solution and proving that it is far better performance-wise.
Now, over more than an hour has passed and it hasn't received a single upvote (yet the other answers have received plenty).
Was it just because I was too late with the answer, so the attention on the (still unanswered) question has faded?
Secondly, what do you guys have of tips to post a late, but detailed answer?
To me, it seemed like a question other people could be asking in the future as well, so I figured it was worth it, even though the OP probably just wanted a quick solution.
But since I don't really get any rep out of it, it seems that it isn't really worth the hassle. Shouldn't it be?
UPDATE:
Not only is this question resolved, I also got upvoted on the post I wined about, so the sole reason I'm keeping this question here is so other people (including myself) can see it in the future.