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)