[YANGTOOLS-1065] Minimize EffectiveStatement implementation footprint Created: 11/Jan/20  Updated: 28/Oct/20  Resolved: 06/Oct/20

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

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

Issue Links:
Blocks
is blocked by YANGTOOLS-1072 Refactor BitsTypeDefinition.Bit and i... Resolved
is blocked by YANGTOOLS-1123 Provide alternative to UnknownEffecti... Resolved
Relates
relates to YANGTOOLS-694 Eliminate duplicate DescriptionEffect... Resolved
relates to YANGTOOLS-1122 Refactor ExtensionEffectiveStatementI... Resolved
Epic Link: Parser Performance

 Description   

Heap dumpĀ  analysis from YANGTOOLS-652 is showing that our effective statements are needlessly big, as their fields end up having default values stored.

This comes from the way classes are modeled and can be alleviated by splitting implementations based on what they actually declare.



 Comments   
Comment by Robert Varga [ 22/Sep/20 ]

The only remaining classes are UnknownStatements, which need another pass with API-incompatible changes.

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