MichaHoffmann commented on code in PR #11715:
URL: https://github.com/apache/arrow-rs/pull/11715#discussion_r4667927830
##########
arrow-select/src/interleave.rs:
##########
@@ -551,6 +625,10 @@ fn interleave_list<O: OffsetSizeTrait>(
// ranges, avoiding both the intermediate child_indices Vec allocation
and
// MutableArrayData's function pointer indirection.
field.data_type() => (list_primitive_helper),
+ // Short lists offer no bulk-copy advantage over the scalar gather.
+ DataType::Struct(fields) if capacity > indices.len() &&
can_interleave_struct_ranges(fields) => {
Review Comment:
Hey, sorry it took a few days but i added a few benchmarks around the cutoff
and raised it to 7; it was around 7 locally for me and seemed roughly fine too.
Does that work?
--
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]