BUG-865: deprecate recursive node instantiation 61/32861/2
authorRobert Varga <robert.varga@pantheon.sk>
Sat, 16 Jan 2016 01:05:31 +0000 (02:05 +0100)
committerRobert Varga <robert.varga@pantheon.sk>
Sun, 17 Jan 2016 11:42:38 +0000 (12:42 +0100)
commit1c5fddea3344ed21febe4f8b6464d09ab21eab26
treec319e2e58020098159841dab772beb9bb7b6c308
parentf895098c15a165376aff89059ce835cadcb44229
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