FROM : Martin Linklater
DATE : Mon Jan 14 23:18:44 2008
I am using GC, yes. I'll take a look at the docs about short-lived
objects.
I've run my code through 'Instruments' and I'm not sure what to make
of the results. I'm seeing all my fetch requests but it's not telling
me what is taking the time. I need to work with it more and see what I
can find.
Thanks.
On 14 Jan 2008, at 22:12, I. Savant wrote:
>> If I understand your post correctly
>
> You know what? Scratch that. It's clear I didn't understand. :-D ...
> and I had *just* sent that message to Erik about having the guts to be
> wrong. ;-) I'm just leaving work, too, so I can't even blame alcohol
> yet. (sigh)
>
> Scott's shark (or Instruments) suggestion is a good one. In addition
> to his "how often are you saving" question:
>
> - Are you using garbage collection? (see its notes about creating a
> bunch of short-lived objects at once)
> - If you're not using garbage collection, are you at least creating
> an autorelease pool and draining it every thousand objects or so?
> (there was a recent post on this list regarding that very approach
> with Core Data)
>
> Hopefully this post is more helpful than my last. ;-)
>
> --
> I.S.
DATE : Mon Jan 14 23:18:44 2008
I am using GC, yes. I'll take a look at the docs about short-lived
objects.
I've run my code through 'Instruments' and I'm not sure what to make
of the results. I'm seeing all my fetch requests but it's not telling
me what is taking the time. I need to work with it more and see what I
can find.
Thanks.
On 14 Jan 2008, at 22:12, I. Savant wrote:
>> If I understand your post correctly
>
> You know what? Scratch that. It's clear I didn't understand. :-D ...
> and I had *just* sent that message to Erik about having the guts to be
> wrong. ;-) I'm just leaving work, too, so I can't even blame alcohol
> yet. (sigh)
>
> Scott's shark (or Instruments) suggestion is a good one. In addition
> to his "how often are you saving" question:
>
> - Are you using garbage collection? (see its notes about creating a
> bunch of short-lived objects at once)
> - If you're not using garbage collection, are you at least creating
> an autorelease pool and draining it every thousand objects or so?
> (there was a recent post on this list regarding that very approach
> with Core Data)
>
> Hopefully this post is more helpful than my last. ;-)
>
> --
> I.S.






Cocoa mail archive

