How expensive is writing data to the address of the Book and CoreData?

I am updating the address book application. I have an idea that the user can edit the contact parameters, some parameters are stored in the address book, and some in the master data object. I have a dilemma with two options -

  • immediately make changes to the Address Book and the main data and save the changes when the user clicks the button.
  • only when the user clicks the save button, read the final result of the change, then write it and save it in the address book and data core.

It’s hard for me to decide, mainly because I don’t know exactly what the prices of each method are? it’s easier for me to write the changes right away, and I believe that in this way the user interface will be more receptive, since memory usage is divided into small operations.

Thanks for any advice.

shani

+5
source share
1 answer

It is easy to track with tools. It should be pretty easy for you to switch between implementations and measure the difference.

+3
source

All Articles