I would like to know if anyone has recommendations or experience with using an in memory data store for a real time, non-networked game. This is not necessarily for loading levels or saving data, but to be accessed within the game loop as the game is running. Pretty much everything I look at w.r.t. data stores in games refers to networked games like MMOs.
As I am working on my game I find myself building a lot of ad hoc structures to hold various bits of game data and I was thinking it would make more sense to leverage work in this area that would provide a more consistent (and hopefully efficient) retrieval/storage method.
Does anyone have any experience or recommendations on in memory databases or key value stores or document stores that would be reasonable?
For my own purposes, my game is being written in Scala but the answers don't need to be Scala/Java specific.
To be more specific I am primarily talking about entity data and lists of entities not necessarily things like 3D meshes.