Details
-
Enhancement
-
Resolution: Won't Do
-
Minor
-
6.0.0.CR1
-
None
Description
TrailingEntityMapSupport#getTrailingEntity(PlanningVariableDescriptor,Object)
Creates a new iterator for each call to just retrieve the first object using next()
Wouldn't a more efficient data structure instead of Map<Object, Set<Object>> be faster and produce less garbage? (a list or a single object as value, especially because if the set has size()>1 throws exception anyway)