[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 |
||
| Issue Links: |
|
||||||||||||||||
| 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 |