announcements

Project/library announcements ONLY - use threaded replies for discussions. Do not cross post here from other channels. Consider #events or #news-and-articles for other announcements.
steveb8n 2021-05-03T04:24:10.108800Z

I like this lib and will definitely use it if it reaches prod quality. thanks for making it

wotbrew 2021-05-03T21:10:26.114400Z

I am a little sceptical that a hash index {eid {k v}} could possibly beat indexed datascript in the general case? e.g not trivially small databases, and not 'get large portion of all the rows' type queries. @huxley any magic I am missing? Aren't value queries going to have to scan the the whole 'table'?

2021-05-03T21:14:51.114600Z

nested map can be faster due to the possibility of limiting the iterated elements, @danstone

2021-05-03T21:15:55.114800Z

[(datascript-query) (dx-query) (fast-dx-query)]
;; clj => [182.98 685.15 71.05] - in ms
for a normal query doxa is ~5x slower

2021-05-03T21:19:16.115Z

By the way, initially the goal was not to race with datascript at all, rather easy interop with re-frame and seamless data synchronisation with firestore

1👍
steveb8n 2021-05-03T22:03:29.115400Z

using the re-frame app-db is why I like this lib. using datalog instead of specter for subs is a nice architecture. it does mean losing some perf because equals? can’t use identical? but that’s ok for 80% of my use cases