xinlifoobar commented on PR #6231:
URL: https://github.com/apache/arrow-rs/pull/6231#issuecomment-2294877475
> I got some better results on other string view predicates. Will update
them in batch tonight.
Updated the latest benchmark, by handling string views in bytes instead of
string.
```bash
group master
prefix_v2
----- ------
---------
like_utf8view scalar complex 1.01 175.4±4.92ms
? ?/sec 1.00 173.8±2.69ms ? ?/sec
like_utf8view scalar contains 1.00 130.5±3.64ms
? ?/sec 1.00 130.0±1.65ms ? ?/sec
like_utf8view scalar ends with 4.31 37.9±0.73ms
? ?/sec 1.00 8.8±0.15ms ? ?/sec
like_utf8view scalar equals 1.00 26.3±0.55ms
? ?/sec 1.00 26.3±0.43ms ? ?/sec
like_utf8view scalar regex 1.00 26.8±0.45ms
? ?/sec
like_utf8view scalar starts with 3.19 32.8±0.70ms
? ?/sec 1.00 10.3±0.19ms ? ?/sec
like_utf8view scalar starts with more than 4 bytes 1.22 34.0±0.68ms
? ?/sec 1.00 27.9±0.33ms ? ?/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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]