BUG-865: deprecate recursive node instantiation 66/32866/2
authorRobert Varga <robert.varga@pantheon.sk>
Sat, 16 Jan 2016 01:05:31 +0000 (02:05 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 18 Jan 2016 13:06:03 +0000 (13:06 +0000)
commitf57da82ed313a3c17a5f8b2a7ee3ec5bb5ff4263
tree6016c5bdc46463a284059279cc80d421dd94a761
parentf007fbd1c3115a3bb873006b10eeade5ec387bcb
BUG-865: deprecate recursive node instantiation

Recursive create() method forces a full materialization, which is slow
and not memory-efficient. Lazily-instantiated nodes work equally well
using less memory.

Change-Id: I320f375090df480c1b376f543cb0b00649b44234
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/tree/spi/TreeNodeFactory.java