开发者

Why is Core Data faster than SQLite

I have开发者_如何学Python a very basic question for iPhone dev. Why is Core Data faster than SQLite even though CoreData uses SQLite under the hood?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜