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 2021/12/25 07:46:00 UTC

[jira] [Created] (IOTDB-2205) Optimizate the longToBytes function in BytesUtils

Yuan Tian created IOTDB-2205:
--------------------------------

             Summary: Optimizate the longToBytes function in BytesUtils
                 Key: IOTDB-2205
                 URL: https://issues.apache.org/jira/browse/IOTDB-2205
             Project: Apache IoTDB
          Issue Type: New Feature
          Components: Core/TsFile
            Reporter: Yuan Tian
         Attachments: BitConstructor.java

Currently, we transfer long to byte[] bitwise in `BytesUtils.longToBytes(long, byte[], int, int)` function which is inefficient.

We can operate it bytewise. You can refer to the attachment code.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)