-
Improvement
-
Resolution: Done
-
Medium
-
None
-
None
This is a counterpart to MDSAL-539 to deal with our eager instantiation of List entries in the DOM->Binding access path.
There are two access patters – either we are looking for a particular entry, or all the nodes need to be processed. In the former case we may end up creating a lot of objects without them ever being touched. In the latter case we may end up performing a lot of upfront work before application logic gets a chance to run.
Add a LazyBindingList implementation, which will instantiation CodecDataObjects on first access. These should be used for objects larger than a configurable cut-off point.
- is blocked by
-
YANGTOOLS-1101 Add NormalizedNodeContainer.size()
- Resolved