datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
idiomancy 2018-10-13T17:51:08.000100Z

hey! I know this channel is kind of a soundless void, but if anyone can let me know if theyre aware of any performance considerations/ best practices for building derived databases, let me know! For instance, would it be generally faster to do something like (db-with (empty-db) (d/q [:find (pull all entities I care about)])) or to do something with d/filter?

2018-10-13T23:38:45.000100Z

I'm not aware of performance impact of those two, but I understand that d/filter is live, and sees updates, while the shallow copy is static.