Page 1 of 1
SQLite
Posted: Mon Dec 27, 2010 11:48 am
by Omega Blue
Would be be feasible or better to store the database in SQLite? I see that bindings for Lua is available.
Re: SQLite
Posted: Mon Dec 27, 2010 3:39 pm
by darkgod
That was one option when I started but I decided against it for a few reasons:
- there is no way to make sqlite use the physfs layer for write functions (or ratehre I suppose it's possible; but too cumbersome)
- the current format allows for total liberal data structure; this means modules can create new kind of data structures without even thinking about it. Using a SQL* would mean that authors would need to define schemas & dump/load layers for each class/subtable/... or that the SQL schema would need to be so generic it would be meaningless to use SQL at all :/
Why do you ask BTW ? Is the current saving still too slow?