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

Memory optimization support #13

Merged
merged 3 commits into from
Nov 23, 2019
Merged

Memory optimization support #13

merged 3 commits into from
Nov 23, 2019

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Nov 23, 2019

  • Reset() clears a Varopt sampler for re-use.
  • Add() returns the ejected value, to support pooling Sample values

@jmacd jmacd merged commit fcf92a6 into master Nov 23, 2019
@jmacd jmacd deleted the jmacd/optimize branch November 23, 2019 07:19
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.

1 participant