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

[DNMY] Streamline Dispatch Variable Reference Structure #247

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pulsipher
Copy link
Collaborator

This seeks to address #159. It turns out that dispatching on the index types accounts for a fair portion of the performance limitations: https://discourse.julialang.org/t/unexpected-allocations-with-multiple-dispatch/76988. Hence we have a balance between performance of expression creation (aided by GeneralVariableRefs) and performance of querying values (aided by inhomogeneous datatypes). This PR seeks to find a good compromise.

@pulsipher pulsipher added the performance Something is slowing the code down label Mar 4, 2022
@codecov
Copy link

codecov bot commented Mar 4, 2022

Codecov Report

Merging #247 (bda963b) into master (c19d5c7) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #247   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files          33       33           
  Lines        7071     7071           
=======================================
  Hits         7058     7058           
  Misses         13       13           
Impacted Files Coverage Δ
src/general_variables.jl 100.00% <100.00%> (ø)

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 c19d5c7...bda963b. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Something is slowing the code down
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant