There is this Q which was brought up on Meta which I've been personally overseeing and trying to nurture/protect by placing a bounty on it:
In C++, should I bother to cache variables, or let the compiler do the optimization? (Aliasing)
... though it hardly needed my help -- it already had 55 up-votes within a couple day's time before I placed the bounty (but also 3 close votes).
It's one I see as a potential pearl since I read a paper on this very subject (the difficulties that aliasing present on compiler optimizations). Also I tend to spend all day looking at basic troubleshooting homework-style questions -- these kinds of questions are so rare and precious when I see them.
Yet, while it already has some pearly answers, the question is quite flawed.
I ended up making the smallest edit to it to try to save it and protect it. I changed: Is it worth optimizing it [...]?
to merely Could there be a case where this could yield more efficient results [...]?
.
In the process, even with such a delicate edit, I already invalidated one answer: Roddy's. He gave the wise answer: "Let the compiler worry about it."
According to him, he was already receiving up and down votes and was already heading down towards zero before I made the edit. But I definitely made his answer worse with that edit.
What should I do in that case? I feel guilty, and many apologies to Roddy for the edit!
Worse, this Q has one last glaring flaw in it which I didn't edit:
What would you consider to be "better" code?
I'm tempted to edit that out also to try to make this question really worthy of the archives. But that would also screw some of those people who provided general wisdom answers over even more. I'm torn about what to do.