[MDSAL-59] Binding Data Codec: Equivalent augmentation resolution is not optimal Created: 13/Nov/14  Updated: 26/Feb/20  Resolved: 26/Feb/20

Status: Resolved
Project: mdsal
Component/s: Binding runtime
Affects Version/s: None
Fix Version/s: Fluorine SR2, Oxygen SR4, 3.0.2

Type: Improvement
Reporter: Tony Tkacik Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates MDSAL-388 Cache successful augmentation substit... Resolved

 Description   

Copy via Builder allows to copy augmentations, which were generated for other instantation of grouping.

Equivalent augmentation algorithm, which decides that same augmentation is present in newer place heavily relies on reflection comparison of generated classes and that comparison is run each time user tries to retrieve augmentation from such LazyDataObject.

Result of comparison should be cached to speed-up other lookups. This is doable due to immutable nature of Java classes.



 Comments   
Comment by Martin Ciglan [ 18/Oct/16 ]

Hi Debalina, could you update status? Many thanks.

Comment by Robert Varga [ 26/Feb/20 ]

This has been implemented as part of MDSAL-388 in https://git.opendaylight.org/gerrit/q/Id86d8c713ee1014d9d4867558032ba3ccd51fc45

Generated at Wed Feb 07 20:08:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.