Yuan Tian created IOTDB-760:
-------------------------------
Summary: Lazy Contruct Alias Map in InternalMNode
Key: IOTDB-760
URL: https://issues.apache.org/jira/browse/IOTDB-760
Project: Apache IoTDB
Issue Type: Improvement
Components: Core/Engine
Reporter: Yuan Tian
Assignee: Yuan Tian
Currently, we maintain an alias map for each InternalMNode. However, firstly,
only the device node will have data in that map; secondly, not all of the
device node will have alias.
And the map has initial capacity of 16, that will waste some memory footprint.
So, we can defer the construction to when the alias map is really used, i.e.
there are alias added to this node.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)