Open cesards opened 10 years ago
At first I must be sorry for my poor Englisn. I think if you store some simple values, using SharedaPreference is better.But if you are storing lots of data, such as some object array, snappyDB is much more better, for it use the ndk, so the performance should be much better than shared preference (guess: performance snappyDB > sqlite > sharedPreference).And it use a nosql approach, so we don't need to create table like sql and so on. But I think this libs can't be used for more complicated purpose,for it doesn't provide function like orderBy() or limit() and so on.
Hi!
First of all, good job! Your library looks incredible, I think it will become a very good alternative to save data in our devices.
It would be great having a comparison chart between using shared preferences and SnappyDB. Even more comparing deserialization with Gson or jackson and using your serialization. I think it will encourage people to use this!
I really want to try it but first I would like to know if it's better deserialize my own Strings from SharedPreferences with Gson, or using Kryo ;-)
Thanks,