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

inlining and functions #26

Open
thorade opened this issue Jul 21, 2017 · 2 comments
Open

inlining and functions #26

thorade opened this issue Jul 21, 2017 · 2 comments

Comments

@thorade
Copy link
Owner

thorade commented Jul 21, 2017

Some of the functions could be inlined if the intermediate protected variables were used directly; makes the code less readable, but possibly faster.
Some of the more complicated intermediate variables could be calculated in a function that again can be inlined.

@thorade
Copy link
Owner Author

thorade commented Jul 31, 2019

Also check precomputing products like delta*tau*frtd within HelmholtzDerivs
https://github.com/thorade/HelmholtzMedia/blob/master/HelmholtzMedia/Interfaces/PartialHelmholtzMedium/EoS/HelmholtzDerivs.mo

image

@thorade
Copy link
Owner Author

thorade commented Sep 9, 2020

Maybe combine with #14 and CSE?
https://en.wikipedia.org/wiki/Common_subexpression_elimination

@thorade thorade mentioned this issue Sep 9, 2020
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

No branches or pull requests

1 participant