Speed up the substring
kernel
#1511
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
performance
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
https://github.com/apache/arrow-rs/blob/master/arrow/src/compute/kernels/substring.rs#L44
We can estimate the memory we need by firstly calculating the length of each substring. This can improve the performance because we don't need to reallocate memory when building buffer.
The text was updated successfully, but these errors were encountered: