-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use more efficient parametric transformation for Tetrahedron
#159
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #159 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 18 18
Lines 184 184
=========================================
Hits 184 184 ☔ View full report in Codecov by Sentry. |
Benchmark Results
Benchmark PlotsA plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. |
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! This is a nice speedup of 80%. Codecov complains about the docstring-like comments. Could we maybe turn those into normal comments #
to satisfy codecov? Documenter.jl doesn't pick up these docstrings anyway. But if you prefer the status quo I would also be fine.
Co-authored-by: Joshua Lampert <[email protected]>
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.
LGTM!
Thanks for the review! |
Changed
Tetrahedron
that first locates the desired point in barycentric space, requiring only one call to the original parametric function._parametric(::Triangle)
for consistent styling._parametric(::Tetrahedron)
#145