-
Notifications
You must be signed in to change notification settings - Fork 56
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
Subsume should succeed even when the tuple is not present #487
base: main
Are you sure you want to change the base?
Conversation
CodSpeed Performance ReportMerging #487 will degrade performances by 35.94%Comparing Summary
Benchmarks breakdown
|
@@ -360,7 +360,7 @@ fn test_subsume_primitive() { | |||
(subsume (one)) | |||
"#, | |||
); | |||
assert!(res.is_ok()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you change comment above so it reflects the current state of the test? That subsuming primitives is not allowed.
@@ -430,7 +430,7 @@ fn test_serialize_subsume_status() { | |||
None, | |||
egglog::SerializedNode::Function { | |||
name: ("a").into(), | |||
offset: 0, | |||
offset: 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are there two a functions values now? They are equivalent right?
Woops sorry @yihozhang I realized my review comments had been pending for two weeks sitting here unpublished! Didn't mean to leave you hanging |
4820561
to
9684208
Compare
Subsumes #478 and fixes #462