Fork me on GitHub
#datascript
<
2022-10-14
>
Ben Sless09:10:13

doing another round of poking at performance, this time around recursive rules, managed to speed up by ~ 2.5x

Lone Ranger14:10:10

Can you share queries or examples? I'm not sure I've ever worked with recursive rules.

Lone Ranger15:10:24

Nice, thanks!

👍 3
Niki23:10:13

Dope! I remember recursive a probably the most messy and least optimized part of all this

Ben Sless04:10:38

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

Niki16:10:20

Thanks! I’ll take a look soon