Skip to content

[NFC] Share the "simple combinable bool" logic among StructValues users#7875

Merged
kripken merged 5 commits intoWebAssembly:mainfrom
kripken:cfp.effic
Sep 3, 2025
Merged

[NFC] Share the "simple combinable bool" logic among StructValues users#7875
kripken merged 5 commits intoWebAssembly:mainfrom
kripken:cfp.effic

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Sep 2, 2025

This mostly just avoids code duplication, but the CFP version was
actually also inefficient (combine returned true more than it
should, possibly leading to wasted work).

@kripken kripken requested a review from tlively September 2, 2025 20:59
@tlively
Copy link
Copy Markdown
Member

tlively commented Sep 2, 2025

@kripken
Copy link
Copy Markdown
Member Author

kripken commented Sep 2, 2025

Very similar yeah, just one is the container of a bool, and the other is a Lattice over bools. Sort of OO vs a "manager" instance. Atm neither is a drop-in replacement for the other.

@kripken kripken merged commit 450c9ed into WebAssembly:main Sep 3, 2025
16 checks passed
@kripken kripken deleted the cfp.effic branch September 3, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants