You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Liya Fan (Jira)" <ji...@apache.org> on 2020/01/02 07:43:00 UTC

[jira] [Created] (ARROW-7491) [Java] Improve the performance of aligning

Liya Fan created ARROW-7491:
-------------------------------

             Summary: [Java] Improve the performance of aligning
                 Key: ARROW-7491
                 URL: https://issues.apache.org/jira/browse/ARROW-7491
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Java
            Reporter: Liya Fan
            Assignee: Liya Fan


Aligning is an important and frequent operation when writing IPC data. It writes no more than 7 0 bytes to the output. 
The current implementation creates a new byte array each time, leading to performance overhead, and increases the GC pressure. 

We improve it by means of a shared byte array. Benchmark evaluation shows a 10% performance gain. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)