You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a benchmark for the REPEAT function for StringArray, LargeStringArray and StringViewArray
Optimize the performance of REPEAT (likely by not creating Strings but instead creating the values directly into a StringBuilder / StringViewArray builder somehow
https://docs.rs/arrow/latest/arrow/array/type.StringViewBuilder.html
here is an example of how to use them: apache/arrow-rs#6240
I realize this just follows the same model as was here. However, if we are messing with the code it might be nice to make it faster while we are at it
Originally posted by @alamb in #11962 (comment)
The idea would be to
String
s but instead creating the values directly into a StringBuilder / StringViewArray builder somehowBenchmarks:
Benchmarks likely would go into https://github.com/apache/datafusion/blob/main/datafusion/functions/benches follow the model of an existing one (e.g. ltrim.rs).
The text was updated successfully, but these errors were encountered: