Fork me on GitHub
#datascript
<
2018-10-13
>
idiomancy17:10:08

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?

Braden Shepherdson23:10:45

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.