Re: Memory leak. DUH!
Re: Memory leak. DUH!
- Subject: Re: Memory leak. DUH!
- From: Coleman Nitroy <email@hidden>
- Date: Sat, 12 Feb 2005 12:48:49 -0500
On Feb 12, 2005, at 12:37 PM, Coleman Nitroy wrote:
properties usually has no more then 6 objects so [properties count] =
6,
So if I change:
for ( i = 0; i < [properties count] - 3; i++ )
To:
for ( i = 0; i < 2000; i ++ )
The second runs light times faster still.
I am nominated to possibly win the award for the biggest idiot.
properties kept having objects added to it in the function that was
calling this. Hence the exponential slowdowns and memory usage.
There goes a whole 4 hours!
DUh! Thanks anyway though.
::embarrassed::
---
Coleman Nitroy
email@hidden
nitroy.com/cole
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden