Skip to content

Commit

Permalink
remove hashes in prove for benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
a committed May 9, 2024
1 parent bceb445 commit 57a3b6b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/prove.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function prove(
timer = false,
),
)
hist = UInt64[]
push!(hist, hash(ex))
# hist = UInt64[]
# push!(hist, hash(ex))
for i in 1:steps
g = EGraph(ex)

Expand All @@ -25,10 +25,10 @@ function prove(
if !TermInterface.isexpr(ex)
return ex
end
if hash(ex) hist
return ex
end
push!(hist, hash(ex))
# if hash(ex) ∈ hist
# return ex
# end
# push!(hist, hash(ex))
end
return ex
end
Expand Down

0 comments on commit 57a3b6b

Please sign in to comment.