BUG-582: Optimize SchemaContextImpl.findModuleByNamespace() 76/7376/1
authorRobert Varga <rovarga@cisco.com>
Fri, 23 May 2014 21:28:12 +0000 (23:28 +0200)
committerRobert Varga <rovarga@cisco.com>
Sun, 25 May 2014 10:30:54 +0000 (12:30 +0200)
This is by far the hottest method, taking full 10 seconds from the
startup. Optimizing it looks simple enough: just create a SetMultimap
and precompute the URI->Module mappings.

Change-Id: Icf9b42424a083f665911c5b3a8853c38662b1e87
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found