It's hard to know what the interpreter might get away with. How many
bytes will be used by the last sentence in this sequence?
a =. 1e5 ?@$ 1e5
]b =. a i. 4 5 6 7 8
100000 4592 7680 5095 18231
b { 9999999 ,~ ] a
9999999 5 6 7 8
Henry Rich
On 3/4/2020 1:19 PM, Raul Miller wrote:
Unless you're working with memory mapped files -- which are a
reflection of an external (os) mechanism -- named nouns in J are copy
on write.
For example:
a=:p:i.4
b=:a
a=:a 1}~ 9
a
2 9 5 7
b
2 3 5 7
Thanks,
--
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