Seems that it's possible in some cases that the interpreter could look
ahead a bit and change, well, here's my example, I just answered a
quora question involving arithmetic with an asterisk operator to be
determined (if the first three what is 2*6)
3 4 5 6 *&>: 2 3 4 2
12 20 30 21
Anyway, as I understand it, 3 4 5 6 *&:>: 2 3 4 2 would have been
faster. And j could have deduced the improvement. For some length
vectors would have been faster.
This is a potential opportunity.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm