Ameen_Ali:

the score calculation function is not commutative


That is what I was asking about, so thanks for clarification. 
In that case, you could potentially speed it up with the batched approach.