zhuqi-lucas commented on PR #7860:
URL: https://github.com/apache/arrow-rs/pull/7860#issuecomment-3162204188

   > Pretty nice improvements @zhuqi-lucas 🚀
   > 
   > ```
   > sort string[0-100] nulls to indices 2^12                1.00     
43.2±0.17µs        ? ?/sec    3.52    151.9±1.43µs        ? ?/sec
   > sort string[0-100] to indices 2^12                      1.00     
89.7±0.35µs        ? ?/sec    3.70    331.9±1.08µs        ? ?/sec
   > sort string[0-10] nulls to indices 2^12                 1.00     
49.1±0.17µs        ? ?/sec    2.48    121.9±0.20µs        ? ?/sec
   > sort string[0-10] to indices 2^12                       1.00    
125.0±0.35µs        ? ?/sec    2.10    262.0±0.57µs        ? ?/sec
   > sort string[0-400] nulls to indices 2^12                1.00     
43.9±0.24µs        ? ?/sec    3.00    131.6±0.39µs        ? ?/sec
   > sort string[0-400] to indices 2^12                      1.00     
89.6±0.22µs        ? ?/sec    3.15    282.4±1.02µs        ? ?/sec
   > sort string[1000] nulls to indices 2^12                 1.00     
44.7±0.20µs        ? ?/sec    2.77    123.6±0.40µs        ? ?/sec
   > sort string[1000] to indices 2^12                       1.00     
88.8±0.48µs        ? ?/sec    2.84    252.0±1.03µs        ? ?/sec
   > sort string[100] nulls to indices 2^12                  1.00     
43.2±0.18µs        ? ?/sec    2.73    117.9±0.23µs        ? ?/sec
   > sort string[100] to indices 2^12                        1.00     
88.3±0.47µs        ? ?/sec    2.81    248.2±0.74µs        ? ?/sec
   > sort string[10] dict nulls to indices 2^12              1.01    
155.1±1.01µs        ? ?/sec    1.00    153.7±0.49µs        ? ?/sec
   > sort string[10] dict to indices 2^12                    1.01    
322.2±0.53µs        ? ?/sec    1.00    317.5±1.95µs        ? ?/sec
   > sort string[10] nulls to indices 2^12                   1.00     
44.4±0.14µs        ? ?/sec    2.74    121.4±0.24µs        ? ?/sec
   > sort string[10] to indices 2^12                         1.00     
87.5±0.40µs        ? ?/sec    2.80    245.1±0.44µs        ? ?/sec
   > ```
   
   Amazing, thank you @alamb for review and performance checking!  It matches 
my local result, 2.5 ~ 4 faster!


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