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

Reduce allocations more by keeping a cache #18

Closed
tlienart opened this issue Aug 30, 2019 · 0 comments
Closed

Reduce allocations more by keeping a cache #18

tlienart opened this issue Aug 30, 2019 · 0 comments

Comments

@tlienart
Copy link
Collaborator

This is micro-optimization for later on but the functions that are called often like fgh! and the functions therein, could probably have a cache, would have to see if that's digestible to Optim but for instance it seems wasteful to allocate X*theta or the associated residual every time it's called.

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