We use a dynamic var in spork.ai.core/debug, and we check this even when we're not debugging (default is false). Turns out, it's 10x faster to deref an atom. Propose switching to an atom, and rewriting the "binding" forms that debug uses to instead reset the atom...Should bring about signifcant perf boost in theory.
We use a dynamic var in spork.ai.core/debug, and we check this even when we're not debugging (default is false). Turns out, it's 10x faster to deref an atom. Propose switching to an atom, and rewriting the "binding" forms that debug uses to instead reset the atom...Should bring about signifcant perf boost in theory.