> 
>    i.~ 8 4 4 4 8 8 8
> 0 1 1 1 0 0 0
>    8 4 4 4 8 8 8  (;@(<@(i.~\:~)/.) /: i...@[) 10 200 100 300 30 20 20
> 3 1 2 0 0 1 1
> 
> All in all, this is not very different from what you did.  Slighltly
> less boxing/unboxing.  Can you measure any difference?
> 

or

   8 4 4 4 8 8 8  (;@(<@(i.~\:~)/.) \: [) 10 200 100 300 30 20 20
3 1 2 0 0 1 1


R.E. Boss



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

Reply via email to