-
Notifications
You must be signed in to change notification settings - Fork 105
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
Scalar compile func #1679
Scalar compile func #1679
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1679 +/- ##
=======================================
Coverage 91.15% 91.16%
=======================================
Files 732 733 +1
Lines 26583 26623 +40
=======================================
+ Hits 24233 24270 +37
- Misses 2350 2353 +3
☔ View full report in Codecov by Sentry. |
@@ -12,6 +12,9 @@ namespace function { | |||
|
|||
struct VectorOperationDefinition; | |||
|
|||
using scalar_compile_func = | |||
std::function<void(FunctionBindData*, const std::vector<std::shared_ptr<common::ValueVector>>&, | |||
std::shared_ptr<common::ValueVector>&)>; |
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.
i think we never use a reference to a shared_ptr, either change it to a raw ptr or remove reference
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.
This has to be a reference, because we are changing the shared_ptr inside compileFunc
92e1a6f
to
896ff12
Compare
Add scalar_compile_func to remove special function evaluation that only happens at compile time.
Add
nodes(RECURSIVE_REL), reps(RECURSIVE_REL)