-
Notifications
You must be signed in to change notification settings - Fork 57
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
Optimize single-argument unknown function invocations with known non-function target types #3270
base: main
Are you sure you want to change the base?
Conversation
ba9afac
to
8fe489c
Compare
9fc5be0
to
e9c71f4
Compare
e9c71f4
to
658c9e9
Compare
@@ -0,0 +1,51 @@ | |||
module Juvix.Compiler.Tree.Transformation.Optimize.ConvertUnaryCalls where |
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.
add a brief description of the optimization
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.
done
test/Main.hs
Outdated
"Juvix slow tests" | ||
AllFinish | ||
-- AllFinish |
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.
probably remove this line
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.
Oh yes, forgot about it
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.
done
2dc05ca
to
c28bbc3
Compare
ConvertUnaryCalls
optimization which replaces generic calls to unknown unary functions with known non-function target types by direct closure calls