Dan,
Bill is usually very clever at diagnosing problems, and I am not, but this
is what I see.
When I look at the following code I see internal if. .end and wonder if
that is time consuming because it is like a do. while in looping code. If a
lot of time is spent in that phrase, perhaps, you could investigate
speeding it up.
cdcallback=: 3 : 0
if. 3=#y do.
if. PARLEN(> *. 0<])2{y do.
characters^:(*@#) trim^:IGNOREWS memchr/}.y return.end.
(2{y) startElement memstr 1{y
else.
endElement memstr 1{y
end.
)
--
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm