A new `good first issue` that could speed up Pants...
# general
A new
good first issue
that could speed up Pants a decent bit & should be approachable. https://github.com/pantsbuild/pants/issues/14719
Optimize Pants's data structures by not sorting as much (FrozenOrderedSet and FrozenDict)
Primary rule of optimization - profile first
It may be the case that sorting has noticeable performance impact, or it may not
A profile removes doubt
True, but also the sorting makes our code more complex to read. There seems to be no benefit to it. Even if the impact isn't very profound, it is wasted computation + wasted code complexity
Sure, and it may be worth doing for those reasons alone, but the priority might be lower than if it were a known performance win