-
Notifications
You must be signed in to change notification settings - Fork 68
Generalize istriu/istril to accept a band index
#590
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #590 +/- ##
=======================================
Coverage 84.07% 84.07%
=======================================
Files 12 12
Lines 9188 9188
=======================================
Hits 7725 7725
Misses 1463 1463 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dkarrasch
left a comment
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.
Nice!
|
It seems that Julia 1.12 is the first version to ship this. It would be nice to have this in the current LTS. What do you think? |
|
Since LTS and older releases can strictly only have bugfixes and no new features or capabilities, I do not think backporting to LTS will be feasible. I believe this should already be on 1.12 - but it would be good to confirm with a Julia RC if that is indeed the case. If not, we should mark it for backport to 1.12. |
I would argue this causes a performance bug of
It is present in |
|
That's getting a little cute to get it in. I think it is small and simple enough that we can try. |
|
I don't think performance improvements are backported unless it's to fix a regression. |
Currently, only
istriu(S)andistril(S)are specialized for sparse matrices, and this PR generalizes these to accept the band indexk. This improves performance: