Skip to content

Clause holds &'static Var #285

Draft
shnarazk wants to merge 2 commits intodev-0.18.0-20250128from
20250128-lit-as-var-ref
Draft

Clause holds &'static Var #285
shnarazk wants to merge 2 commits intodev-0.18.0-20250128from
20250128-lit-as-var-ref

Conversation

@shnarazk
Copy link
Copy Markdown
Owner

@shnarazk shnarazk commented Jan 28, 2025

  • adopt OnceCell<Vec<Var>>
  • switch to Clause::lits : Vec<(&'static Var, bool)>

@shnarazk shnarazk self-assigned this Jan 28, 2025
@shnarazk shnarazk linked an issue Jan 28, 2025 that may be closed by this pull request
@shnarazk shnarazk added wont be merged This will not be merged type system Changes on types for safety or generality labels Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type system Changes on types for safety or generality wont be merged This will not be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How about define Lit as (&Var, bool) to shorten dereference chains?

1 participant