SymbolicUtils.jl
SymbolicUtils.jl copied to clipboard
Hash consing
We can add a global thread-safe dictionary to de-duplicate terms in memory. This will guarantee the memory cost is the same as an efficient DAG representation while preserving the tree data structure.
It's basically an e-graph and we can already use Metatheory.jl for that.