2 ms·
Because incremental updates are very difficult in a zip file. The point of an embedded database like LiteDB or SQLite is to allow incremental updates to a file
by gwbas1c 9y ago
Because incremental updates are very difficult in a zip file.
The point of an embedded database like LiteDB or SQLite is to allow incremental updates to a file without needing to write out the entire file every time.
The nice thing about tools like SQLite and LiteDB is that they have APIs that are fundamentally similar to APIs that we already know. It keeps the learning curve light so we can spend more time on the task at hand instead of learning a new thing.
- sametmax 9y agoGive the size of most ODT files and the power of current computers, incremental updates are completely irrelevant. Regenerating the entire file takes a blink. But the current format benefit from the XML ecosystem (validation, transformation, namespacing, nesting, semantic markup) that is very handy for a document. Plus, being text based is a very good selling point if you want your format to last: event in 30 years if you don't have the spec, you can peak in the zip and see what's up.