Thanks for all the answers! No rush for now, so I can even experiment with
it staying in-memory and add persisting later.
What datasets do you consider small? :) I've seen you said something about
tens of thousands of records in previous mails, seems like not too small :)
Personally I'm aiming at 20k-30k of records which will store file info in
up to 10 fields per-record, so it seems quite fitting for my needs if I
understood everything right.


On 6 May 2014 20:20, Nikita Prokopov <[email protected]> wrote:

> 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.
>

-- 
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.

Reply via email to