Fork me on GitHub
#core-logic
<
2023-11-12
>
sebastibe02:11:23

Hello, Is there a memory performance bottlneck to be aware of when using membero? For example I am trying to find a pattern by day of the month so around 30 variables but when trying to initialize I am getting a OOM error while it it seems to work fine with 4 / 5 variables:

(let [vars (repeatedly 30 lvar)]
  (run 1 [q]
    (== q vars)
    (everyg #(membero % [1 2 3 4 5 6 7 8 9]) vars)))
Gives a OOM.