Cody Weaver
Cody Weaver

Reputation: 4886

Realm app size in comparison to Core Data

Does using Realm on your application cause it to take up more space on disk than if I stored the same amount of data with Core Data?

Upvotes: 2

Views: 544

Answers (1)

marius
marius

Reputation: 7806

Realm leverages bit-packing and smart column optimizations to be generally ~50% smaller than SQLite. CoreData is based on the latter.

The support of native links in Realm, allows you to optimize your schema and avoid duplicating data in foreign keys, which can also help to reduce the file size beside the clear performance benefits.

Upvotes: 3

Related Questions