• 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: Sharing a persistent store between iOS and Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing a persistent store between iOS and Mac


  • Subject: Re: Sharing a persistent store between iOS and Mac
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 25 Aug 2011 14:20:37 -0700

On Aug 25, 2011, at 1:30 PM, Fritz Anderson wrote:

> My iOS app has to initialize a large, read-only dataset — a 12,000-word vocabulary with definitions. In my early drafts, with 6000 words, I had it parse a text file, but that took alarmingly long, and the watchdog timer would probably kill it if I attempted the full dictionary.

I’m not qualified to answer the CoreData question, but it shouldn’t take that long to read 12,000 words out of a text file. A fraction of a second. You may have been doing it using some technique that added a lot of extra overhead, perhaps for memory management.

It sounds like you’re going down a different path now, but if you do decide to go back to the text file approach, the collective wisdom of this list should be able to help you figure out why it’s slow and how to speed it up.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sharing a persistent store between iOS and Mac
      • From: Fritz Anderson <email@hidden>
References: 
 >Sharing a persistent store between iOS and Mac (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • Next by Date: Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • Previous by thread: Re: Sharing a persistent store between iOS and Mac
  • Next by thread: Re: Sharing a persistent store between iOS and Mac
  • Index(es):
    • Date
    • Thread