-
Notifications
You must be signed in to change notification settings - Fork 7
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
Compile time #154
Compile time #154
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #154 +/- ##
=======================================
Coverage ? 77.79%
=======================================
Files ? 169
Lines ? 61900
Branches ? 8663
=======================================
Hits ? 48158
Misses ? 11648
Partials ? 2094 |
… functions to be cacheable.
…his precludes recursion at the moment. Get __name__ from globals() so eliminate that unneeded arg.
… which now uses bodo_exec.
…o (try to) guarantee uniqueness.
Co-authored-by: Ehsan Totoni <ehsan.tn@gmail.com>
1ce9b98
to
9eca061
Compare
…ke sure that the string-generated bodo function cache is populated.
…caches are cleared to make sure the second run hits the internal cache of a function known to be called.
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.
Thanks @DrTodd13. Looks good to me overall. Just a comment about moving the test to a separate file.
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.
Overall LGTM. I'm assuming you're going to add the call_id = create_arg_hash(...
to the other custom IR nodes like the Iceberg, SQL, Join ... in a followup. Will let Ehsan review the compiler stuff
Changes included in this PR
Cache many internal njit and overload methods. Add support for caching of string-generated functions.
Testing strategy
Need to understand better how caching is tested in Bodo and how that applies to internal functions.
User facing changes
None.
Checklist
[run CI]
in your commit message.