aboutsummaryrefslogtreecommitdiff
path: root/kernel/term.ml
diff options
context:
space:
mode:
authorletouzey2011-09-22 19:08:47 +0000
committerletouzey2011-09-22 19:08:47 +0000
commit2c968766b5bb57041694782ae2ffcda82ea5fe38 (patch)
tree1dc8e1646926bea3609c8b0a5f5724019defa5a7 /kernel/term.ml
parente15d40ac526eeac7c725e4defc2ddb9dde56212a (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 'kernel/term.ml')
-rw-r--r--kernel/term.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/term.ml b/kernel/term.ml
index 3281154202..4c6c8e3388 100644
--- a/kernel/term.ml
+++ b/kernel/term.ml
@@ -1407,7 +1407,7 @@ let hcons_constr (hcon,hkn,hdir,hname,hident) =
let htcci = Hashcons.simple_hcons Htype.f (hcci,hsortscci) in
(hcci,htcci)
-let (hcons1_constr, hcons1_types) = hcons_constr (hcons_names())
+let (hcons1_constr, hcons1_types) = hcons_constr hcons_names
(*******)