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

Avoid allocating objects with funcitonal form of get! #208

Merged
merged 1 commit into from
Aug 6, 2022

Conversation

rayegun
Copy link
Member

@rayegun rayegun commented Aug 6, 2022

Per Fredrik this avoids allocating a common object every time it is used.

@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2022

Codecov Report

Merging #208 (438efe5) into main (78e48c3) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #208   +/-   ##
=======================================
  Coverage   92.13%   92.13%           
=======================================
  Files          11       11           
  Lines        7160     7160           
=======================================
  Hits         6597     6597           
  Misses        563      563           
Impacted Files Coverage Δ
src/solvers/cholmod.jl 90.66% <100.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@rayegun rayegun merged commit 0944c41 into main Aug 6, 2022
@rayegun rayegun deleted the rk/fixallocations branch August 6, 2022 18:08
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