Closed matt-graham closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
5d29b85
) to head (1d3fe26
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
From some profiling
%*%
withMatrix::Diagonal
appear to be much slower than just using a diagonal matrix constructed withdiag
even though nominally this incurs an unecessary quadratic rather than linear cost.This PR therefore switches to using
diag
in place ofMatrix::Diagonal
and limiting progress bar updates to every 10% (or every 1 iteration if less than 10 iterations).