Advice for debugging slow backward pass

Hi, can you explain why index operations will slowdown backpropagation?
I have a similar question here: indexing-is-very-slow-for-backpropagation