zanmato1984 commented on code in PR #55169:
URL: https://github.com/apache/arrow/pull/55169#discussion_r4450735638
##########
cpp/src/arrow/compute/kernels/vector_swizzle_test.cc:
##########
Review Comment:
Yes. I've consolidated these checks into `IndexBounds`, including positive
out-of-bounds indices for both signed and unsigned types.
##########
cpp/src/arrow/compute/kernels/vector_swizzle.cc:
##########
@@ -87,6 +126,8 @@ struct InversePermutationImpl {
template <typename Type>
enable_if_t<is_integer_type<Type>::value, Status> Visit(const Type&
output_type) {
+ // Keep output execution specialized so the loops remain inlineable.
Sharing
+ // output signedness can cause aggressive outlining and regress throughput.
Review Comment:
This referred to an earlier experiment with sharing the output handling,
which isn't part of this PR. I've removed the comment.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]