SchemaPath identification of SchemaNodes is costly and useless
Description
Attachments
1
100% Done
blocks
Activity
Show:
Robert Varga January 11, 2020 at 11:05 PM
deals with reducing number of contexts and once it's done this issue starts blocking further progress.
Based on heap dump analysis of YANGTOOLS-652, SchemaPath instances are taking up 11% (13% with partial YANGTOOLS-1065) of retained heap size.
The problem is that SchemaPath is used in quite a few places to provide type inference and we do not have a replacement mechanism.
Hence we first need to add that mechanism, then deprecate/migrate SchemaPath usage and finally kill the ill notion of a SchemaPath.