You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "yang caiyin (Jira)" <ji...@apache.org> on 2022/11/17 10:20:00 UTC

[jira] [Created] (IOTDB-4973) Improve the constructRowRecordFromValueArray in Session by holding timestamp in advance

yang caiyin created IOTDB-4973:
----------------------------------

             Summary: Improve the constructRowRecordFromValueArray in Session by holding timestamp in advance
                 Key: IOTDB-4973
                 URL: https://issues.apache.org/jira/browse/IOTDB-4973
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: yang caiyin
            Assignee: yang caiyin


In SessionDataSet, constructRowRecordFromValueArray can be called frequently when traversing the result. In constructRow() method, we store a copy of the timestamp of currnet row but never used it.

In constructRowRecordFromValueArray, we can directly use this copy instead of calling the method in TsBlock to reduce time cost.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)