Iterations and memory retention improvements for processing of PropertyContainer metadata

Description

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.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

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