How about define Lit
as (&Var, bool)
to shorten dereference chains?
#283
Labels
idea
My original idea
Lit
as (&Var, bool)
to shorten dereference chains?
#283
Clauses only refer to properties. We don't need mutual references!
Approach
vars
fromAssignStack
toClauseDB
orstatic mut
❗heap
ofAssignStack
clause.lits
fromVec<Lit>
toVec<&Var<'a>>
Let's dive into the
unsafe
hellThere's no mutable reference!
The text was updated successfully, but these errors were encountered: