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
Active
Viewed 1,820 times
4
-
3What makes you think Core Data is faster than SQLite? – Noah Witherspoon Dec 16 '10 at 08:17
-
2The selected answer might help you understand why.. http://stackoverflow.com/questions/1045238/core-data-vs-sqlite-and-performance – Kolin Krewinkel Dec 16 '10 at 08:18
1 Answers
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.

extremeboredom
- 1,512
- 12
- 13