danReynolds / loon

Loon is a reactive document data store for Dart & Flutter.
https://pub.dev/packages/loon
MIT License
35 stars 2 forks source link

File persistence rewrite #12

Closed danReynolds closed 2 months ago

danReynolds commented 3 months ago

Rewrites the architecture for file-based persistence.

The main change is the storing of data in a FileDataStore by resolver path. This fixes some edge case bugs with file persistence key resolution and improves subtree resolution performance.

It also decreases the isolate persistence payload through the use of a local resolver when persisting documents, enabling a smaller isolate message payload that should decrease copy-time on the main isolate.