Hello Dan;
dd 1 2
1 2
dd 1 2 3
1 2 3
dd 1 2 3 4
1 2 3 4
dd 1 2 3 4 5
1 2 3 4 5
dd 1 2 3 4 5 6
1 2 3 4 5 6
dd 1 2 3 4 5 6 7
1 2 3 4 5 6 7
dd 1 2 3 4 5 6 7 8 NB. J seems to wait for an 8 item list to kick in
the i.
1+i.8
My conclusion was that I didn't see what J was using to decide when to
use a short form. I've never had any confusion as to why to use a short
form, something else you didn't seem to understand.
Dan Bron wrote:
Randy,
I don't understand the comments:
dd 1 2 3 4 5 6 7 8 NC. it takes its time to switch over.
1+i.8
dd ,:1 2 NB. The result exceeds ":
1+i.1 2
or how they relate to your conclusion:
Which just means test as you go, the criterion is far from
simple.
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
------------------------------------------------------------------------
|\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ | | The only real problem with APL is that
BSc(Math) UNBF'83 | it is "still ahead of its time."
Sapere Aude | - Morten Kromberg
Natural Born APL'er |
-----------------------------------------------------(INTP)----{ gnat }-
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm