John Randall wrote:
> The verb testjmf does the appends in a jmf file.  The timings increase
> approximately linearly, giving overall quadratic performance.

I tested and got similar results. furthermore if modified to use amend

f=:(y*1e4)$0
for_i. i.y do.
smoutput i, 6!:2 'f=:(i.1e4) ((i*1e4)+i.1e4)}f'
end.

the timing became constant thus I guess J engine itself is responsible for the
degraded performance in append, but of course I may be wrong.

-- 
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to