[YANGTOOLS-369] Data Tree: improve DataContainerNode storage for empty attributes Created: 13/Nov/14  Updated: 10/Apr/22  Resolved: 15/Mar/19

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement
Reporter: Robert Varga Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks YANGTOOLS-114 Milestone: Lithium: Analysis & implem... Resolved
Relates
relates to YANGTOOLS-961 Integrate NormalizedNodes with RFC795... Resolved

 Description   

Analysis of a moderately-loaded data store shows that we have quite a bit of memory used in retaining references to Collections.emptyMap() for attributes.

We should be able to reduce the footprint of Immutable

{Container,MapEntry,UnkeyedListEntry}

Node instances by defining an alternative class to handle the empty attributes.



 Comments   
Comment by Robert Varga [ 18/Mar/15 ]

Move out to Beryllium for now.

Comment by Robert Varga [ 15/Mar/19 ]

Attributes are not part of NormalizedNode, as adressed by YANGTOOLS-961.

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