Join Slack
Powered by
But I presume when prefs sync to disc, they have t...
# android-architecture
u
ursus
09/02/2020, 8:37 AM
But I presume when prefs sync to disc, they have to rewrite the whole thing even though a single value changed, right?
j
John Leeroy
09/02/2020, 11:59 AM
I wouldn't optimize this area unless you're seeing performance issues.
u
ursus
09/02/2020, 2:44 PM
well tbh not sure how long its supposed to take with large payloads, unless tested
j
John Leeroy
09/02/2020, 2:58 PM
Agreed. You can add traces around the initialization and commit time with SharedPreference to help inform your decisions.
Open in Slack
Previous
Next