Luca Masini.
>  Mem =: ( C, W , H ) $ _1x
>  Is there a way to improve the amend time?

Are you sure you need the extended integers?  Using standard integers/floats 
will make the amend significantly faster.

Extended ints, like boxes, are "reference types"*.  Amending an array of 
reference types takes time proportional to the size of the
entire array; this is in contrast to amending an array of value types, which 
takes time proportional to the size of the index array
(i.e. the number of values amended).

Well, at least that's how it used to be [1].  The story might've changed since 
then.

-Dan

[1]  http://www.jsoftware.com/pipermail/general/2001-December/008453.html

*  "Reference types" is not the right term, but it's the closest I can come to 
it.  What I'm getting at is a "reference type" scalar
actually refers to an array of values under the covers, than being an true 
atomic value.


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

Reply via email to