doing another round of poking at performance, this time around recursive rules, managed to speed up by ~ 2.5x
Patch ready https://github.com/tonsky/datascript/pull/438
Thanks! I’ll take a look soon
Can you share queries or examples? I'm not sure I've ever worked with recursive rules.
Nice, thanks!
Dope! I remember recursive a probably the most messy and least optimized part of all this
I'll probably have a patch ready today evening One thing I didn't figure out yet, but I have an idea, is tuple keys. It's more efficient to use a nested map than complex keys. Should dramatically improve that use case