Nikita Prokopov
Nikita Prokopov
Hm. I remember hitting it but can’t find any code or even an issue. Let’s consider this a bug
@Harleqin it’s actually fine. Predicate would work if both i1 and i2 are bound, what @Tavistock has is assignment, given the value of i1, calculate and assign value of i2
I don’t remember at this point. What does Datomic do?
DataScript is only faster if it queries its indexes. If you query a collection it doesn’t really matter how many positions are in your patterns. So if you put it...
> Gotcha. But I did understand correctly that datascript can only use those indexes if the data is really in EAVT form, right? Not only in EAVT form, but also...
`(datascript.core/db-with (datascript.core/empty-db) [])`
Practically, I’d probably suggest you to go with third option. Yes, max-eid is not advanced, but you can see it as a plus: you’ve taken id management into your own...
> Do you know of any other issues that going past the tx0 limit might cause, other than the auto increment? Nothing else > I saw that some performance issues...
This is q4: ``` ["q4" '[:find ?e ?l ?a :where [?e :name "Ivan"] [?e :last-name ?l] [?e :age ?a] [?e :sex :male]]] ``` What this query does is quite different...
I’m optimizing certain sorts of queries in https://github.com/tonsky/datascript/blob/master/src/datascript/query_v3.cljc. But it won’t be orders of magnitude probably. I don’t think it’s possible to have complex queries and high performance at the...