uber/simple-store

Link to dangers of shared prefs

Opened this issue · 3 comments

Might be worthwhile explaining or pointing to an explanation of why not use SharedPrefs

Originally posted by @jbarr21 in #25 (comment)

Also compare to room and SQL.

@kurtisnelson
Will this make this project obsolete? If not why?

The AndroidX shared preferences replacement will likely be backed by SQLite. This keeps the library easy to use for new developers but has a significant performance hit both on memory and CPU. SimpleStore uses the fundamental JVM file APIs and has zero overhead until opened.