Skip to content
Discussion options

You must be logged in to vote

Hi @daawaan, there are different points in your question, so I'll try to answer to all of them:

  • The zero-copy architecture of Realm means that there will be zero copies from the database, and it doesn't means that there will be zero allocations of backing fields. So that does not violate our main objective, that is to minimise expensive operations, such as reading data from disk and copying it to memory.
  • Another thing to notice is that primitive values such as integers, booleans and so on don't really take much space in memory, so even if those are unused they don't contribute much to the issue. The problem is with "heavier" types, such as strings, collections and objects, as they can ta…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nirinchev
Comment options

Answer selected by daawaan4x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants