Fixed
Details
Assignee
Sanne GrinoveroSanne GrinoveroReporter
Sanne GrinoveroSanne GrinoveroComponents
Fix versions
Priority
Minor
Details
Details
Assignee
Sanne Grinovero
Sanne GrinoveroReporter
Sanne Grinovero
Sanne GrinoveroComponents
Fix versions
Priority
Created March 15, 2021 at 5:12 PM
Updated March 19, 2021 at 7:13 AM
Resolved March 15, 2021 at 5:57 PM
The initialization of a PropertyContainer is currently performing a quadractic amount of checks to ensure successfull narrowing down of generic properties; a quick inspection of the code reveals that this can be easily made linear.
In addition, the memory retention of this container seems suboptimal: it's retaining a full TreeMap, while a (small) List is sufficient; in addition, defensive copies are being allocated for each access, and we've observed the access is happening multiple times for each instance.