[YANGTOOLS-950] Optimize DataNodeContainerModificationStrategy child tracking Created: 05/Feb/19  Updated: 05/Feb/19  Resolved: 05/Feb/19

Status: Resolved
Project: yangtools
Component/s: data-impl
Affects Version/s: None
Fix Version/s: 3.0.0, 2.0.17, 2.1.9

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

DataNodeContainerModificationStrategy is using a LoadingCache to lazily instantiate child strategies. This is memory-inefficient as well as slower on normal access, where the child has been instantiated.

Rework tracking in terms of an ImmutableMap, which gets updated as needed.


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