perf(kernel/replace_visitor): use more expensive/precise cache
It does not use pointer equality, but structural equality
This commit is contained in:
parent
5489e46ce5
commit
9b61b18eaa
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ namespace lean {
|
|||
*/
|
||||
class replace_visitor {
|
||||
protected:
|
||||
typedef expr_map<expr> cache;
|
||||
typedef expr_bi_struct_map<expr> cache;
|
||||
cache m_cache;
|
||||
expr save_result(expr const & e, expr && r, bool shared);
|
||||
virtual expr visit_sort(expr const &);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue