Skip to content
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

optimize the sparse HNF, some startegy, but mostly gc friendly #1766

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

fieker
Copy link
Collaborator

@fieker fieker commented Feb 21, 2025

  • add temporary scalar variables in SMat
  • use (and define) more ! functions
  • careful memory management in ZZRow
  • improve sub, transpose, ..
  • add strategy in HNF to alternate between full HNF and only produce some upper triangular matrix
  • better support for getting the trafo by appending the identity

 - add temporary scalar variables in SMat
 - use (and define) more ! functions
 - careful memory management in ZZRow
 - improve sub, transpose, ..
 - add strategy in HNF to alternate between full HNF and only produce
   some upper triangular matrix
 - better support for getting the trafo by appending the identity
@thofma
Copy link
Owner

thofma commented Feb 22, 2025

there is some conflict

@fieker fieker enabled auto-merge (squash) February 24, 2025 12:45
@lgoettgens
Copy link
Contributor

The failure in the 1.10-windows job is inside the sparse HNF code, and thus seems related to the changes here

@thofma thofma disabled auto-merge February 25, 2025 08:03
@thofma
Copy link
Owner

thofma commented Feb 25, 2025

from the tests I would guess that some function call does not finish

@fieker
Copy link
Collaborator Author

fieker commented Feb 25, 2025 via email

@thofma
Copy link
Owner

thofma commented Feb 25, 2025

they are all computing class groups I believe, so it might be related?

Copy link

codecov bot commented Feb 25, 2025

Codecov Report

Attention: Patch coverage is 70.37773% with 149 lines in your changes missing coverage. Please review.

Project coverage is 76.45%. Comparing base (a83f7dc) to head (d37df73).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
src/Sparse/ZZRow.jl 60.94% 91 Missing ⚠️
src/Sparse/HNF.jl 74.09% 57 Missing ⚠️
src/Sparse/Matrix.jl 97.43% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1766       +/-   ##
===========================================
+ Coverage    6.44%   76.45%   +70.00%     
===========================================
  Files         362      362               
  Lines      114242   114766      +524     
===========================================
+ Hits         7362    87743    +80381     
+ Misses     106880    27023    -79857     
Files with missing lines Coverage Δ
src/HeckeTypes.jl 85.36% <ø> (+36.46%) ⬆️
src/Sparse/Module.jl 75.00% <100.00%> (+0.42%) ⬆️
src/Sparse/Row.jl 83.69% <100.00%> (+59.54%) ⬆️
src/Sparse/Trafo.jl 75.07% <100.00%> (+49.56%) ⬆️
src/Sparse/UpperTriangular.jl 43.90% <ø> (+43.90%) ⬆️
src/Sparse/Matrix.jl 72.76% <97.43%> (+47.69%) ⬆️
src/Sparse/HNF.jl 75.59% <74.09%> (+7.35%) ⬆️
src/Sparse/ZZRow.jl 80.18% <60.94%> (+3.93%) ⬆️

... and 318 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants