I would favor ~.!.1. No mnemonic value, but less likely to be forgotten.
What is your fast algorithm?
Henry Rich
On 4/9/2022 4:03 AM, Elijah Stone wrote:
Suppose that ~. (and perhaps some relatives) can be implemented much
more efficiently if no guarantee is made about the order of the
result. Is it too much of an abuse of notation to use ({~?~@#)@~. as
a special combination to invoke such an algorithm? If so, what would
be better?
Most special combinations would not incur a performance penalty vs an
alternate expression of the same semantics on an implementation which
did not recognise special combinations. But I cannot think of any way
of expressing ambivalence regarding the order of a result other than
shuffling it.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm