-
Notifications
You must be signed in to change notification settings - Fork 133
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
feat: make _canonical_matrix faster #4117
Conversation
Cool, thanks! Definitely an improvement. But as you say: Still room for further improvement, eventually. |
I guess I messed something up. How fast is your sparse version? |
My sparse version never became functional, unfortunately. I also messed things up and didn't know how to resolve it. |
I pushed a fix for the sparse version. I now get these timings:
EDIT: new version of #4114
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4117 +/- ##
==========================================
+ Coverage 84.66% 84.68% +0.01%
==========================================
Files 626 626
Lines 84210 84270 +60
==========================================
+ Hits 71300 71360 +60
Misses 12910 12910
|
src/Rings/orderings.jl
Outdated
@@ -87,7 +87,7 @@ struct MatrixOrdering <: AbsGenOrdering | |||
end | |||
end | |||
|
|||
function _canonical_matrix(w) | |||
function __canonical_matrix(w) |
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 is no longer used and should be removed (before merging this)
Co-authored-by: Johannes Schmitt <[email protected]>
Some low-hanging fruit.
Before:
After:
There is still some room for improvement.