Rank and Friends
summary
Dyalog APL 14.0 adds the rank operator plus tally, key and extended index-of for higher‑rank left arguments; enclose rank negative one produces the major‑cell boxes used throughout. Counting unique integers in a million‑element vector uses key and returns sorted counts including zeros, and key is fastest vs older idioms. Converting tables to inverted tables cuts space ~40× and speeds column filters ~15× in a million‑row example; a 28‑line tradfn becomes a 20‑line idiom and runs ~20× faster at the client.
AI-written summary · about
