Hi Dmitry! I cannot tell you memory footprint because I'm working on underlying structure rewrite at the moment.
Future-proof and simplest way is just to get all datoms and persist them using EDN or more efficient serializer. On app start, read all datoms and create new DB from them. DataScript was intended for small datasets limited by browser memory, so it shouln't be a problem. There's currently no API call for such thing as "get all datoms". It'll be something similar to Datomic's "datoms" or "seek-datoms" calls, I'm planning to add this in next one or two versions. If you need this right now, feel free to hack into implementation, it should be easy to change that later. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
