samedi 16 avril 2016

Storing data in an array vs SQLite in Swift

I am working on an app where I need to retrieve (readonly) a few thousand items that are currently stored in an SQLite database. Since I pull and put everything into an array in Swift, I wonder if it'd be a good idea to put everything in an array from the start?

What would be some performance difference between array storage vs database storage and would one be better over the other?

Aucun commentaire:

Enregistrer un commentaire