Skip to content

Remove automatic extraction in builtin evaluation #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 28, 2025
Merged

Conversation

saulshanabrook
Copy link
Member

In #265 (released as 9.0.0) the ability to automatically extract a builtin using a global egraph context was added. This PR removes that feature, requiring all builtins to be in a normalized form.

I realized that for #241 we want facts to compare structural equality when converting to a boolean, instead of using the e-graph. Looking at that previous PR, it seems like a mistake to add this implicit context, making things more confusing and opaque with minimal UX improvements.

In #265 (released as
9.0.0) the ability to automatically extract a builtin using a global
egraph context was added. This PR removes that feature, requiring all
builtins to be in a normalized form.

I realized that for #241
we want facts to compare structural equality when converting to a boolean,
instead of using the e-graph. Looking at that previous PR, it seems like
a mistake to add this implicit context, making things more confusing
and opaque with minimal UX improvements.
Copy link

codspeed-hq bot commented Mar 24, 2025

CodSpeed Performance Report

Merging #282 will not alter performance

Comparing less-magic (3057cc8) with main (640e8a1)

Summary

✅ 7 untouched benchmarks

@saulshanabrook saulshanabrook merged commit c312526 into main Mar 28, 2025
21 checks passed
@saulshanabrook saulshanabrook deleted the less-magic branch March 28, 2025 15:31
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.

1 participant