Skip to content

Evaluate caml_hash_variant once#21

Draft
dra27 wants to merge 1 commit intoocaml-opam:masterfrom
dra27:hash_variant
Draft

Evaluate caml_hash_variant once#21
dra27 wants to merge 1 commit intoocaml-opam:masterfrom
dra27:hash_variant

Conversation

@dra27
Copy link
Member

@dra27 dra27 commented Jun 27, 2019

The values returned by caml_hash_variant can be cached, and I think should be.

This PR declares the globals - there needs to be a routine added to initialise them (probably called by the OCaml module in a toplevel expression).

TODO: Initialise the globals and replace all the calls.
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