[ 
https://issues.apache.org/jira/browse/ARROW-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liya Fan updated ARROW-7491:
----------------------------
    Description: 
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 11% 
performance gain. 

  was:
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. 


> [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
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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 
> 11% performance gain. 



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

Reply via email to