Currently i.100 allocates and populates space for 100 integers. The interpreter would need to become significantly more complex to support the "streaming version", but that's conceptually doable (for many, but not all cases).
-- Raul On Sun, Jul 24, 2022 at 12:21 AM <tu...@posteo.de> wrote: > > Hi, > > How is J processing data? > > Would this one-liner > > +/ 1 + i.100 > > be processed like this: > > tmp=0 > create '0' > add '1' > add to tmp > create '1' > add '1' > add to tmp > create '2' > add '1' > add to tmp > ... > print tmp > > or like this: > > tmp=0 > alloc 100*sizeof(int) > fill mem with numbers 0...99 > for each field in mem: add '1' > for each fied in meme: add field to tmp > print tmp > > so basically "streaming" vs. <missing word here> > > Background: > The streaming version would allow for much bigger ranges > of input > > Cheers! > Meino > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm