4

I have a very basic question for iPhone dev. Why is Core Data faster than SQLite even though CoreData uses SQLite under the hood?

asked Dec 16, 2010 at 8:16
2
  • 3
    What makes you think Core Data is faster than SQLite? Commented Dec 16, 2010 at 8:17
  • 2
    The selected answer might help you understand why.. stackoverflow.com/questions/1045238/… Commented Dec 16, 2010 at 8:18

1 Answer 1

6

The key is in the optimisations that Apple has put in place in Core Data. It makes very intelligent decisions about items that should be cached for example.

Theoretically you could probably achieve the same performance without using Core Data, but it would take a very long time to re-build all of the optimisations that Apple engineers, who are very familiar was the platform, have put in place.

answered Dec 16, 2010 at 8:26
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.