xinlifoobar commented on PR #6231: URL: https://github.com/apache/arrow-rs/pull/6231#issuecomment-2298022353
Some minor improvements after use &[u8] directly. ```bash like_utf8view scalar complex ---------------------------- optimized_prefix_suffix_bytes 1.00 171.9±2.78ms ? ?/sec optimized_prefix_suffix 1.02 174.7±2.58ms ? ?/sec master_08_19 1.07 184.5±15.76ms ? ?/sec like_utf8view scalar contains ----------------------------- optimized_prefix_suffix_bytes 1.00 124.7±1.66ms ? ?/sec optimized_prefix_suffix 1.02 127.5±2.69ms ? ?/sec master_08_19 1.05 130.7±3.52ms ? ?/sec like_utf8view scalar ends with ------------------------------ optimized_prefix_suffix_bytes 1.00 33.6±0.52ms ? ?/sec optimized_prefix_suffix 1.02 34.3±0.56ms ? ?/sec master_08_19 1.12 37.8±0.54ms ? ?/sec like_utf8view scalar equals --------------------------- master_08_19 1.00 26.4±0.59ms ? ?/sec optimized_prefix_suffix_bytes 1.01 26.7±0.56ms ? ?/sec optimized_prefix_suffix 1.03 27.2±0.94ms ? ?/sec like_utf8view scalar starts with -------------------------------- optimized_prefix_suffix_bytes 1.00 20.4±0.27ms ? ?/sec optimized_prefix_suffix 1.01 20.6±0.65ms ? ?/sec master_08_19 1.61 32.8±0.55ms ? ?/sec like_utf8view scalar starts with more than 4 bytes -------------------------------------------------- optimized_prefix_suffix_bytes 1.00 31.8±0.35ms ? ?/sec optimized_prefix_suffix 1.00 31.9±0.44ms ? ?/sec master_08_19 1.07 34.0±0.53ms ? ?/sec ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org