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

Cache an ordered vector of variables instead of using dictionary lookups #8

Merged
merged 2 commits into from
Mar 30, 2022

Conversation

odow
Copy link
Collaborator

@odow odow commented Mar 30, 2022

A few minor performance tweaks. Structure computations now avoid the need for an additional dictionary, and updating the coefficients is now just an index into a vector instead of a dictionary lookup.

@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2022

Codecov Report

Merging #8 (aeb0d06) into master (c81948e) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   97.08%   97.12%   +0.03%     
==========================================
  Files           2        2              
  Lines         309      313       +4     
==========================================
+ Hits          300      304       +4     
  Misses          9        9              
Impacted Files Coverage Δ
src/nonlinear_oracle.jl 97.57% <100.00%> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c81948e...aeb0d06. Read the comment docs.

@odow odow merged commit de2c62c into master Mar 30, 2022
@odow odow deleted the od/ordered-variables branch March 30, 2022 03:25
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