During investigating why there are 128 bytes memory leak on each readexcel in
tara, I found that continue. and break. inside select. case. structure will
cause 64 bytes of memory leakage.
Steps to reproduce the problem,
foo=: 3 : 0
while. 1 do.
select. 1
case. do. break.
end.
end.
i.0 0
)
foo1=: 3 : 0
whilst. 0 do.
select. 1
case. do. continue.
end.
end.
i.0 0
)
foo ''
7!:0''
48917824
foo ''
7!:0''
48917888
foo ''
7!:0''
48917952
foo1''
7!:0''
48918016
foo1''
7!:0''
48918080
tested on both J601c and J602beta.
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm