You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sagemathgh-40435: Add faster implementations of matrix_from_* constructors to GF(2) and GF(2^e)
Dense matrices over GF(2) and GF(2^e) currently have slow performance
for the following methods:
- matrix_from_rows()
- matrix_from_columns()
- matrix_from_rows_and_columns()
They are using the default implementation in matrix1.pyx which involves
conversion of each element every time it is read or written. This PR
puts direct naive implementations for these methods into both classes.
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [X] The title is concise and informative.
- [X] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [X] I have updated the documentation and checked the documentation
preview.
URL: sagemath#40435
Reported by: Biffo89
Reviewer(s): Xavier Caruso
0 commit comments