Yes, and it's about the ease with which you find a solution.

It seems Insert should normally be more concise than writing the loop, and tacit code more concise than explicit, but in this case, with these complications and others, the looping explicit code is clearly to prefer.

/Erling

On 2016-09-16 15:31, Raul Miller wrote:
The boxing is a measurable performance issue, since you wind up doing a lot
of boxed operations.

The reversing is not a measurable performance issue, since it only happens
twice and because the overall algorithm is does so much more work.

Both of these are "conciseness" issues, however. But if conciseness were
the overriding goal then at some point you would be considering explicit
code.


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

Reply via email to