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/18 01:25:00 UTC

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

    [ https://issues.apache.org/jira/browse/IOTDB-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635589#comment-17635589 ] 

yang caiyin commented on IOTDB-4973:
------------------------------------

pull request: https://github.com/apache/iotdb/pull/8032

> 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
>            Priority: Minor
>
> In SessionDataSet, constructRowRecordFromValueArray can be called frequently when traversing the result. And the method used getTimeStamp to get time value which cost extra time.
> We can directly use a copy of time instead of calling the method in constructRowRecordFromValueArray to reduce extra time cost.



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