But I presume when prefs sync to disc, they have t...
# android-architecture
u
But I presume when prefs sync to disc, they have to rewrite the whole thing even though a single value changed, right?
j
I wouldn't optimize this area unless you're seeing performance issues.
u
well tbh not sure how long its supposed to take with large payloads, unless tested
j
Agreed. You can add traces around the initialization and commit time with SharedPreference to help inform your decisions.