Skip navigation.
 
mlRe: Storm in a water glass? (Was: Table View Blues (summary))
FROM : Scott Anguish
DATE : Thu Nov 21 21:45:12 2002

>         [employees removeObjectsInArray:peopleToRemove];
>


   Incidently.. this is hardly an efficient manner to delete all the
items in an array.  Each item has to be searched for in the array, then
removed, and this will iterate over all the peopleToRemove...

   Try instead -removeAllObjects...
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlStorm in a water glass? (Was: Table View Blues (summary)) rixstep000 Nov 21, 21:28
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Scott Anguish Nov 21, 21:42
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Scott Anguish Nov 21, 21:45
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Rixster @ Rixstep Nov 21, 22:00
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Scott Anguish Nov 21, 22:10
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Rixster @ Rixstep Nov 21, 22:22
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Marco Scheurer Nov 21, 22:27
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Jonathan Hendry Nov 21, 22:31
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Scott Anguish Nov 22, 02:55
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Nat! Nov 23, 00:19