[YANGTOOLS-543] Do not create duplicate declared statements Created: 10/Nov/15 Updated: 10/Apr/22 Resolved: 15/Dec/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Peter Kajsa |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
Heap dump analysis is showing that heavy use of groupings and uses results in 33-to-408 duplicate {Choice,Case,Description,Leaf}StatementImpl instances – for example in BGPCEP's linkstate model. Fix instantiation logic such that we do not produce duplicate instances in the same schema context. |
| Comments |
| Comment by Peter Kajsa [ 11/Dec/15 ] |