1

I need to evaluate the efficiency of a piece of code and find a way to improve it, but I am having a difficult time understanding the need for one part of it.

So, I would like to ask a question, but after having read this question I feel my question may not be welcome.

Are there criteria under which a question of this nature would be deemed acceptable? I do feel that my question would be rather more specific than the example given in the other meta question.

4
  • I wouldn't necessarily see a problem with: "Is this chunk of code redundant?" or some such question if the code in question is somewhat small. Obviously it still needs to be well written Jan 5, 2015 at 23:43
  • Not knowing what you want to ask you did see : meta.stackoverflow.com/a/271469/1699210 and this comment?
    – bummi
    Jan 5, 2015 at 23:43
  • I did not see either of those @bummi, they do seem to point that as long as I can write the question well that I should be OK, Thanks.
    – user1618236
    Jan 5, 2015 at 23:46
  • I guess my biggest worry is the requirement to show research, I honestly don't even know what to search for the code in question.
    – user1618236
    Jan 5, 2015 at 23:47

1 Answer 1

1

"How does this code work" is categorically off-topic on Stack Overflow.

Present it as a "review my code" question (with a focus on performance), and ask it on http://codereview.stackexchange.com.