• 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
Strange Problem with Core Data on PPC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange Problem with Core Data on PPC


  • Subject: Strange Problem with Core Data on PPC
  • From: August Hahn <email@hidden>
  • Date: Tue, 17 Apr 2007 13:11:19 -0700

My app is universal and the PPC users are complaining about how slow it is on their machines. I'm using Core Data so I used the debugging line -com.apple.CoreData SQLDebug 1 to look at what the store was doing, and I found on PPC that adding a store to the persistentStoreCoordinator (via theDatabase = [psc addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL: [NSURL fileURLWithPath:theDBFilePath] options:nil error:&error]; ) caused it to execute a fetch request for all the records in the database, all 8400 of them, twice. Once during the call to addPersistentStore and once in a place I can't seem to find.

This behavior does not occur when I run the same app on an Intel iMac. It only happens on the PPC iMac. Something that takes me 0.25 seconds takes the user 50 seconds or more. I'd like to find out why and fix it, but I can't seem to find anything about this on the web.

August
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Strange Problem with Core Data on PPC
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Re: Document based apps & tabbed windows?
  • Next by Date: Re: PDFOutline memory management
  • Previous by thread: NYC Cocoaheads meeting
  • Next by thread: Re: Strange Problem with Core Data on PPC
  • Index(es):
    • Date
    • Thread