It seems that important role in performace plays test for fill element.
So far I've seen 3:
ft1=:(+./"1@:~:&' ')
ft2=:([EMAIL PROTECTED] 1{.0{.])
ft3=:([EMAIL PROTECTED]:"1 [: {. 0 {. ])

with ft3 is the fastest.

tacitizing Mike Powell's solution and using ft3 for fill test we arrive at

dragMP3=:(((_1 + +/\)@] { #~) ft3 f.)

which is twice as fast as drag0.

_________________________________________________________________
Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview

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

Reply via email to