Skip to content

Speed up LargestFirst order#241

Merged
gdalle merged 3 commits intomainfrom
gd/lf
Apr 8, 2025
Merged

Speed up LargestFirst order#241
gdalle merged 3 commits intomainfrom
gd/lf

Conversation

@gdalle
Copy link
Member

@gdalle gdalle commented Apr 8, 2025

  • Speed up degree computation in adjacency graphs with a diagonal
  • Compute the degree of each vertex once and store it before sorting
  • Avoid fill!(visited, false) in other places when only some coefficients have been set to true

@gdalle gdalle changed the title Speed up LF order Speed up LargestFirst order Apr 8, 2025
@codecov
Copy link

codecov bot commented Apr 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5572dab) to head (e332ee8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #241   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines         1781      1793   +12     
=========================================
+ Hits          1781      1793   +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gdalle gdalle marked this pull request as draft April 8, 2025 06:53
@gdalle gdalle marked this pull request as ready for review April 8, 2025 09:27
@gdalle gdalle merged commit bcca5b8 into main Apr 8, 2025
6 checks passed
@gdalle
Copy link
Member Author

gdalle commented Apr 8, 2025

Merging since this is a very easy one

@gdalle gdalle deleted the gd/lf branch October 13, 2025 10:16
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.

1 participant