we don't want memoization of all inputs and outputs, because in general this would cause memory usage to balloon
however, have the ability to do some amount of memoization would enable parsing of self-recursive structures which would otherwise result in infinite loops
some possibilities:
Ref(memo=True) -- the thought being here that the main way a glom could "escape" and go on forever would involve a Ref() type
glom(trace=True, memo=True) -- the idea being that tracking inputs and outputs may also fold neatly into a generalized tracing functionality
we don't want memoization of all inputs and outputs, because in general this would cause memory usage to balloon
however, have the ability to do some amount of memoization would enable parsing of self-recursive structures which would otherwise result in infinite loops
some possibilities:
Ref(memo=True)
-- the thought being here that the main way a glom could "escape" and go on forever would involve aRef()
typeglom(trace=True, memo=True)
-- the idea being that tracking inputs and outputs may also fold neatly into a generalized tracing functionality