Re: NSSpellChecker crashes after 64k words
Re: NSSpellChecker crashes after 64k words
- Subject: Re: NSSpellChecker crashes after 64k words
- From: Hamish Allan <email@hidden>
- Date: Wed, 13 Apr 2005 01:23:16 +0100
On Tue, 12 Apr 2005 16:02:32 -0700, "Louis C. Sacha"
<email@hidden> wrote:
First, it isn't safe to assume that the only autoreleased objects
being created are those which you explicitly create yourself. In my
example, the code being executed in the loop
found = [checker checkSpellingOfString:testString startingAt:0];
doesn't explicitly create any autoreleased objects itself, but there
could be any number or kind of autoreleased objects being created
behind the scenes in the implementation of that method.
Just out of interest, which classes if any from Foundation and AppKit
fill up the autorelease pool in this way? Seems like it would be a good
idea when writing library functions either to create and release a
local autorelease pool, or where possible to alloc and release objects
rather than using convenience constructors.
Best wishes,
Hamish
_______________________________________________
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