Code of Conduct
Search before asking
What would you like to be improved?
ShuffleStorageUtils.getPartitionRange is not performant...
It could be calculated directly in O(1).. However current impl is about O(n) where n is the number of partition ranges. when partition range size =1, n is corresponding to partition numbers.
How should we improve?
refactor ShuffleStorageUtils.getPartitionRange to calculate range directly.
Are you willing to submit PR?