diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-09-22 19:08:47 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-09-22 19:08:47 +0000 |
commit | 2c968766b5bb57041694782ae2ffcda82ea5fe38 (patch) | |
tree | 1dc8e1646926bea3609c8b0a5f5724019defa5a7 /library | |
parent | e15d40ac526eeac7c725e4defc2ddb9dde56212a (diff) |
Hash-consing: attempt to stop hash-consing separately constr in declare.ml
Now that Yann has provided a better hashing mechanism for constr,
it might be interesting to (re-?)activate a global hash-consing of
constr. Earlier, specific hash-cons tables were created at each call
to hcons_constant_declaration. According to Hugo, this was meant to
avoid blow-up in at least contrib Pocklington. This contrib seems
to behave nicely now with global hashconsing (thanks Yann ;-).
We'll see tomorrow what impact this has on other contribs.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14487 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library')
-rw-r--r-- | library/declare.ml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/declare.ml b/library/declare.ml index c566cedfd..df87153de 100644 --- a/library/declare.ml +++ b/library/declare.ml @@ -156,7 +156,6 @@ let inConstant = let hcons_constant_declaration = function | DefinitionEntry ce when !Flags.hash_cons_proofs -> - let (hcons1_constr,_) = hcons_constr (hcons_names()) in DefinitionEntry { const_entry_body = hcons1_constr ce.const_entry_body; const_entry_type = Option.map hcons1_constr ce.const_entry_type; |