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

Memoize Opam Version #2872

Merged
merged 4 commits into from
Nov 11, 2019
Merged

Memoize Opam Version #2872

merged 4 commits into from
Nov 11, 2019

Conversation

rgrinberg
Copy link
Member

We can use memoization to save the opam version rather than manually
storing it in a reference cell.

@rgrinberg rgrinberg requested a review from a user November 11, 2019 10:55
@rgrinberg rgrinberg requested a review from emillon as a code owner November 11, 2019 10:55
src/dune/context.ml Outdated Show resolved Hide resolved
@rgrinberg rgrinberg force-pushed the memoize-opam-version branch from cd586f9 to ef3b4b7 Compare November 11, 2019 15:18
We can use memoization to save the opam version rather than manually
storing it in a reference cell.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg rgrinberg force-pushed the memoize-opam-version branch from ef3b4b7 to d026ace Compare November 11, 2019 20:04
@rgrinberg
Copy link
Member Author

@diml I've made the change you've proposed. Merging this PR as I need for memoizing the context db.

@rgrinberg rgrinberg merged commit 8f52da5 into ocaml:master Nov 11, 2019
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