• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSSpellChecker crashes after 64k words
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: getting drive/media type
  • Next by Date: Re: Binding to object at index in NSArrayController?
  • Previous by thread: Re: NSSpellChecker crashes after 64k words
  • Next by thread: Fwd: NSSpellChecker crashes after 64k words
  • Index(es):
    • Date
    • Thread