[YANGTOOLS-372] yang-data-impl: take advantage of child sizing hints Created: 14/Nov/14  Updated: 10/Apr/22  Resolved: 19/May/15

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

Type: Improvement
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done 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

 Description   

Memory profiling has shown that we waste quite a bit of memory in sparse HashMap instances. We need to lower the default allocation, as most of our maps are typically small and then start using the sizing hints to size our structures appropriately.



 Comments   
Comment by Robert Varga [ 14/Nov/14 ]

https://git.opendaylight.org/gerrit/12837
https://git.opendaylight.org/gerrit/12838

After these, we need something smart to take advantage of the hints in the individual builders.

Comment by Tony Tkacik [ 19/May/15 ]

childSize hints were incorporated in provided patchsets into code base.

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