ViggoC opened a new issue, #41: URL: https://github.com/apache/arrow-java/issues/41
The performance of VariableWidthViewVector is much slower than VariableWidthVector in some cases. `setZero` for overwriting is the bottleneck. ``` VariableWidthViewVectorBenchmarks.setSafeFromArray 1 avgt 5 0.088 ± 0.002 ms/op VariableWidthViewVectorBenchmarks.setSafeFromArray 2 avgt 5 0.095 ± 0.020 ms/op VariableWidthViewVectorBenchmarks.setSafeFromArray 10 avgt 5 0.091 ± 0.012 ms/op VariableWidthViewVectorBenchmarks.setSafeFromArray 40 avgt 5 0.087 ± 0.001 ms/op VariableWidthVectorBenchmarks.setSafeFromArray 1 avgt 5 0.010 ± 0.001 ms/op VariableWidthVectorBenchmarks.setSafeFromArray 2 avgt 5 0.013 ± 0.001 ms/op VariableWidthVectorBenchmarks.setSafeFromArray 10 avgt 5 0.032 ± 0.001 ms/op VariableWidthVectorBenchmarks.setSafeFromArray 40 avgt 5 0.105 ± 0.002 ms/op ```  Environment: 2.6 GHz Intel Core i7, MacOS 13.6, openjdk version "13.0.2" See code of benchmark in https://github.com/apache/arrow/pull/44634. ### Component(s) Java -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org