CRC | Index << >> |
t←↑¨↓⍉x ⍝ inverted table ⍪¨ 3↑¨t ┌───────────────┬──┬──────────┐ │s │41│ 196549161│ │ben9949 │16│1426044578│ │rank_transpose2│25│1926599481│ └───────────────┴──┴──────────┘ cmpx 'x⍳x' 't(8⌶)t' x⍳x → 7.98E¯3 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ t(8⌶)t → 3.37E¯3 | -58% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ cmpx 'hashCRC⍨t' 'hashC ⍨t' hashCRC⍨t → 1.09E¯3 | 0% ⎕⎕⎕⎕⎕⎕⎕ *hashC ⍨t → 3.40E¯3 | +212% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ cmpx '8⌶⍨t' 'iC⍨t' 8⌶⍨t → 3.36E¯3 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ iC⍨t → 6.73E¯3 | +100% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ |