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

Reply via email to