I have no idea whether this comes from APL, I’m afraid. I originally figured out this approach on my own and only afterwards learned that it’s been known in the Perl community for at least as long as the ST. (Oddly, it does not seem to get promoted much, despite its considerable advantages in the general case.) I have no idea about its history beyond that.
Makeshifts last the longest.
In reply to Re^2: Better sorting than the ST
by Aristotle
in thread Perl is dying
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |