BUG-1270: optimize SchemaPath creation for augmentations 42/9042/1
authorRobert Varga <rovarga@cisco.com>
Tue, 15 Jul 2014 22:15:55 +0000 (00:15 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 15 Jul 2014 22:15:55 +0000 (00:15 +0200)
commit98eeda9a26485481d469ae7410d794fefd6fce51
tree2c20318e1ac8c2933205c86f227c72ab298b6bc7
parent17a065c2f2ce020a114dfcd61c489feb9be1fa64
BUG-1270: optimize SchemaPath creation for augmentations

As it turns out, at least in one case we can use
SchemaPath.createChild(), which is much more efficient than the
Iterable-based constructor. Drop a FIXME to investigate whether we can
reuse an existing SchemaPath in the other case.

Change-Id: I1aae1c9855490a21bcda7ffe17d52e081cc7de1d
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/impl/YangParserImpl.java