Open fdkong opened 4 years ago
@rwcarlsen fixed something really quick but not the ultimate algorithm fix for #11396. I am surprised that this shows up again.
I'd like to see the profiling. I don't think the issue isn't that sorting is slow, I believe the issue is that we are sorting the same, or similar items several times during setup. Anyway, I'll be curious to see what you find out when you get a good profile.
Reason
This somehow becomes really slow recently. Will add a profiling result soon!
Design
We should explore a better algorithm
Impact
None