xinghuayu007
13ef2c9e1d
[Function][Enhance] lower/upper case transfer function vectorized ( #6253 )
...
Currently, the function lower()/upper() can only handle one char at a time.
A vectorized function has been implemented, it makes performance 2 times faster. Here is the performance test:
The length of char: 26, test 100 times
vectorized-function-cost: 99491 ns
normal-function-cost: 134766 ns
The length of char: 260, test 100 times
vectorized-function-cost: 179341 ns
normal-function-cost: 344995 ns
2021-07-26 09:38:07 +08:00
..
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2021-04-08 09:11:32 +08:00
2021-04-08 09:11:32 +08:00
2021-07-10 10:12:12 +08:00
2021-07-10 10:12:12 +08:00
2021-07-16 12:32:10 +08:00
2021-07-10 10:12:12 +08:00
2021-07-10 10:12:12 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2020-11-28 18:36:49 +08:00
2021-07-13 14:02:39 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2021-07-17 10:43:06 +08:00
2021-07-07 10:26:32 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2021-07-04 20:59:05 +08:00
2021-07-04 20:59:05 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2020-11-28 18:36:49 +08:00
2021-07-16 09:21:27 +08:00
2021-06-16 09:40:13 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-04 20:59:05 +08:00
2021-07-10 10:12:12 +08:00
2021-07-04 20:59:05 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-13 14:02:39 +08:00
2021-07-26 09:38:07 +08:00
2021-07-08 09:40:30 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2021-06-10 17:38:25 +08:00
2021-06-10 17:38:25 +08:00
2021-07-07 10:26:32 +08:00
2020-12-16 21:58:34 +08:00
2020-11-28 18:36:49 +08:00
2020-11-28 18:36:49 +08:00
2021-07-07 10:26:32 +08:00
2021-07-07 10:26:32 +08:00
2020-03-29 14:18:19 +08:00
2020-03-29 14:18:19 +08:00