Kit Teather wrote: > Dear Fraser, Dan and Roger, > My apologies for not following up your e-mails from the mid. of Feb. till now > and many thanks for your replies. > > I ran some timings on a subset of the data I had been using and results were: > myself 21.75 secs > Roger 21.88 secs > Dan 21.93 secs. > Fraser 21.93 secs. > I'll probably therefore stick with my own. I was very interested in the use > of ^: iterated 0 or 1 time.
All these solutions operate on cells individually. One way to speed this up is to use J601 and 8!:n. Another way, necessary you are using J504, is to operate on all numeric cells at one go. See the technique in http://www.jsoftware.com/pipermail/programming/2006-March/001356.html and http://www.jsoftware.com/pipermail/programming/2006-March/001403.html. How you do this depends on the data. If all data is numeric, or if non-numeric data has no underscores, then you can do a single replace on the text before it is written to file. If you are still unable to make inroads into this, please post a description and small sample of your data. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
