You have just asked a question on Meta that:
- has a title that is clear, specific, and concise
- has an introduction that provides great context, and examples of what your expectations are based on
- it provides information on why you did what you did, and what you expected the results to be.
In short, it's a reasonably well formulated, and presented question.
Why did you not do that with the question on the main site?
Your title is "Array-indexed sum" ..... what does that even mean? How can we tell if the code is "right"?
Your question body has no description of what the code is supposed to accomplish, or details on what successful output should look like.
Your request is "can it be faster?", nothing wrong with that, but.... it does not add any context for what the code actually does.
Finally, what does "An Algorithm?" mean?
In short, you put far more effort in to complaining about the actual question, than preparing the question itself.
Added my -1 to the question as well.
When you add more context to your question, feel free to ping me by adding a comment to this post, and I'll go and remove my -1 and perhaps upvote it too.