JuliaSymbolics / SymbolicUtils.jl

Symbolic expressions, rewriting and simplification
https://docs.sciml.ai/SymbolicUtils/stable/
Other
545 stars 114 forks source link

`unsorted_arguments` in rewriters.jl #354

Closed 0x0f0f0f closed 3 years ago

0x0f0f0f commented 3 years ago

https://github.com/JuliaSymbolics/SymbolicUtils.jl/blob/f29f7b3db4eee9d5baa8ff1527a456c6fb44ff86/src/rewriters.jl#L162

Makes the walk faster with Dict-like terms (Add/Mul)? Now that #352 is passing tests, this has to be moved to Rewriters.jl, which only relies on TermInterface.jl, so I guess https://github.com/JuliaSymbolics/TermInterface.jl/issues/7 has to be closed. cc @shashi

0x0f0f0f commented 3 years ago

Done in Rewriters.jl#master