Skip to main content
1 of 6
ChrisW
  • 13.1k
  • 14
  • 21

In a word: Yes.

Although "Hey, use a profiler!" might be good advice, it's not on-topic or sufficient for this site. This site is for Code Reviews, and an answer on this site is not on-topic if it refuses to review the code.

Instead of being posted as an answer:

  • It can be posted as a helpful comment to the question
  • It can be a vote to close the question (if the question doesn't contain code which can be reviewed)

Another example is:

  • Here I wanted to mention some links to other algorithms, but I didn't want to review the OP code: so I posted that as a comment, not an answer.
  • Here I also posted a link to other algorithms, but I also reviewed the code: so I posted that as an answer.
ChrisW
  • 13.1k
  • 14
  • 21