ios - Updating core data performance -
i'm creating app uses core data store information web server. when there's internet connection, app check if there changes in entries , update them. now, i'm wondering best way go it. each entry in database has last updated timestamp. of these 2 more efficient:
- go through entries , check timestamp see entry needs updated.
- delete whole entity , re-download again.
sorry if seems obvious question , thanks!
i'd option 1
efficient, there case downloading (especially in large database large amounts of data) more efficient downloading parts need.
Comments
Post a Comment