On 09-12-11 18:49, Raul Miller wrote:
> Because, in general, J works best when the mass handling of data is
> done through simple operations.
>
> And, specifically, #/.~ is supported by special code:
> http://www.jsoftware.com/help/release/key503.htm
>
Well, how about
r=.1e6 ?@$9
ts '({.,#)/.~r'
0.007779 1344
ts '(~.,#)/.~r'
0.083331 1.46822e7
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm