From: Robert Klemme Date: 2004-01-15T00:46:37+09:00 Subject: Re: [Q] Array.delete "Emmanuel Touzery" schrieb im Newsbeitrag news:40055BD8.90405@wanadoo.fr... > E.-R. Bruecklmeier wrote: > > > Is there a method similar to Array.delete which returns the modified > > array instead of modifing the array by itself? > > > > Why aren's there two methods: > > > > Array.delete > > > > and > > > > Array.delete! > > > > ??? > > if Array.delete was duplicating the array before removing the value, it > would be a huge performance killer for big arrays. That's why the OP asked why there were not two methods: delete! (inplace deletion) and delete (copy without the deleted elements). Regards robert