x←¯1e9+?1e6⍴2e9
cmpx '⍋x' '{⍵[⍋⍵]}x'
⍋x → 1.48E¯1 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
* {⍵[⍋⍵]}x → 5.56E¯2 | -63% ⎕⎕⎕⎕⎕⎕⎕⎕
grade sort ratio
4-byte int 1.48e¯1 5.56e¯2 2.7
2-byte int 3.22e¯2 5.36e¯3 6.0
1-byte int 6.35e¯3 2.02e¯3 3.1
double 2.87e¯1 8.79e¯2 3.3
2-byte char 3.22e¯2 5.61e¯3 5.7
1-byte char 5.92e¯3 2.01e¯3 2.9
|