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

iFunc: allow cache for value ? #186

Open
farhi opened this issue Feb 11, 2019 · 1 comment
Open

iFunc: allow cache for value ? #186

farhi opened this issue Feb 11, 2019 · 1 comment

Comments

@farhi
Copy link
Contributor

farhi commented Feb 11, 2019

A cache holding the last model evaluation may be added in the class definition, and feval related calls.
It would be returned immediately when called with:

  • same parameters
  • same axes
@farhi
Copy link
Contributor Author

farhi commented Apr 27, 2019

We may introduce a private property to hold a cache for the object. This can be used further to store temporary data, hidden. It can be done when converting iFunc to handle based class #184, similarly as done now for idata (with temporary estruct object to be renamed as idata when ready).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant