a=: 1e6$0
   b=: 1e9$0
   timespacex 'a=: 1 (2 3 4}) a'
0.000395 1408
   timespacex 'b=: 1 (2 3 4}) b'
0.26758 1408

Since both of these operations take up the same amount of space, I assume they are done in-place. But if that is the case, why does the latter take longer?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to