The faster form is an amend-in-place.  Even if it can't run in place, it avoids some copying.

The rank form has to copy each cell, perform the amend, and move the cell into the overall result.

Henry Rich

On 4/28/2022 6:28 PM, Raul Miller wrote:
Why is the more complicated form faster?

Thanks,



--
This email has been checked for viruses by AVG.
https://www.avg.com

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

Reply via email to