Skip to content

Optimize decompress_symmetric!#27

Closed
amontoison wants to merge 2 commits intoJuliaDiff:mainfrom
amontoison:optimize_decompress_symmetric
Closed

Optimize decompress_symmetric!#27
amontoison wants to merge 2 commits intoJuliaDiff:mainfrom
amontoison:optimize_decompress_symmetric

Conversation

@amontoison
Copy link
Copy Markdown
Collaborator

@gdalle

  • Exploit the symmetry in decompress_symmetric!.

@gdalle
Copy link
Copy Markdown
Member

gdalle commented Jul 18, 2024

I had thought about that but DI has no convention to return either the top or bottom triangle of the Hessian, so to be safe I compute both.

@gdalle gdalle closed this Jul 18, 2024
@gdalle gdalle reopened this Jul 18, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.79%. Comparing base (8567b7f) to head (eaef17b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   97.79%   97.79%           
=======================================
  Files           9        9           
  Lines         362      363    +1     
=======================================
+ Hits          354      355    +1     
  Misses          8        8           

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

Comment thread src/decompression.jl Outdated
@gdalle
Copy link
Copy Markdown
Member

gdalle commented Jul 18, 2024

Superseded by #29, which ensures that each nonzero is visited exactly once

@gdalle gdalle closed this Jul 18, 2024
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.

2 participants