On Oct 6, 2009, at 1:08 AM, Ben Trumbull wrote:

Core Data is just passing the query off to the database. I'm not sure why you think going to the database directly will do anything for the 179.9 / 180.0 seconds it takes to evaluate the query in the database.

I suspect that he wants a background thread that simply sits and passes results back to main thread directly from sqlite3_step(). I don't know of a way to incrementally return results in CoreData when the query is very expensive; using setOffset will re-issue the query and even fetching just IDs still has to wait for the entire query to finish before return any results.

Karl

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to