zhuqi-lucas commented on code in PR #7351:
URL: https://github.com/apache/arrow-rs/pull/7351#discussion_r2019710202


##########
arrow/benches/comparison_kernels.rs:
##########
@@ -424,5 +436,127 @@ fn add_benchmark(c: &mut Criterion) {
     });
 }
 
-criterion_group!(benches, add_benchmark);
+// Generate a string array that meets the requirements:
+// All strings start with "test", followed by a tail, ensuring the total 
length is greater than 12 bytes.
+fn make_custom_string_array(size: usize, tail_len: usize, rng: &mut StdRng) -> 
Vec<Option<String>> {

Review Comment:
   Added it to the original benchmark, thanks @alamb.



-- 
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]

Reply via email to