You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yuan Tian (Jira)" <ji...@apache.org> on 2020/06/10 07:58:00 UTC
[jira] [Created] (IOTDB-760) Lazy Contruct Alias Map in
InternalMNode
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)