mercredi 21 janvier 2015

which is faster between Sqlite and dictionary?

For my game there are lots of information about monters, heros, items and so on.


And I will save them into containers as a database.


I want to know which is faster between Dictionary template or sqlite.


Option 1. Use Dictionary template.


Save data into Dictionary and find a item with key like


Value cItem = Dictionary[key];


Option 2. Use sqlite.


Create table for each group of information and query what I want to find.


Briefly, I want to pick faster one either dictionary or Sqlite as a database of all of the information about my game.


Any ideas?


Aucun commentaire:

Enregistrer un commentaire