Seems like when using a logic db in core.logic most of the
CPU cicles are spent on manipulating the thead bindings the *logic-dbs* dynamic var.
However, it is only used as a wrapper when calling the underlying -run macro.
Invoking it directly speeds things up significantly
Let's set up some dummy data:
(require
'[clojure.core.logic.pldb :as pldb]