Interesting- I had never looked in that repo before.
I know we have had some ideas thrown around to provide a better shard allocation and distribution algorithm that would use the performance analyzer metrics (resource usage by shard and node load) to better distribute shards to help avoid creating hot spots and skew which are common if you are not careful today. I am not sure if we had anyone raise their hand say they are going to work on it yet. I am sure there are dozens of optimizations like that to be had. Is this an area you are interested in Lukáš? - would be curious if you had some other ideas.
Carl