Prompted by this question: How should we handle answers that don't answer the question, but evaluate the performance of other answers?
The issue with the above Meta question is that it used as its basis a Stack Overflow question that explicitly asks for the most efficient implementation, thus somewhat undermining the former's premise.
But after looking at the underlying question, I think the problem is with that question itself - specifically the bit where it requires efficiency - for many reasons, some of which are outlined by @VLAZ in their excellent answer:
- Where the code runs makes a difference
- Benchmarks can be done wrong
- Benchmarks may look correct but are not measuring real performance
- Benchmarks might omit relevant differences between solutions, focusing on just speed of performance
- The difference often does not matter (because the input dataset simply isn't large enough for it to matter)
In short, I believe that questions that asks for efficient solutions are almost always misguided (in my experience they are often asked by people who don't understand the least bit about efficiency). And because such questions invite the legitimate problem of benchmark "answers" identified by the linked Meta question, I think it is valid to judge such questions as implicitly too broad.
Therefore, I propose that such questions should be extremely strictly curated. Unless an asker can demonstrate a legitimate need for efficiency (I would argue this would necessitate providing extensive prior research as well as very specific constraints), any mentions of that term should be removed from such questions, which will implicitly discourage and/or invalidate benchmark "answers".