It would not just be >./c as the indices can be negative.  And I think you 
overestimate the time
cost for allocating and populating new storage.



----- Original Message -----
From: "Miller, Raul D" <[EMAIL PROTECTED]>
Date: Tuesday, December 19, 2006 9:05 am
Subject: RE: [Jgeneral] selection

> Roger Hui wrote:
> > Please see http://www.jsoftware.com/help/release/iamend.htm
> 
> This says:
>   In-place amendment is eschewed for integral c due to the
>   possibility of index error.
> 
> It seems to me that, in a context where in-place amend is
> otherwise viable, >./c would often be quicker than allocating
> and populating new storage.


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

Reply via email to