From b5f2b861a3d391716e976469a1a100536550bef8 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Sat, 28 Mar 2020 09:28:00 +0100 Subject: Be cleverer and do not hopelessly rezip a term when not needed. A quick analysis showed that most of the calls to whd do not lead to a term which further triggers reduction, so there is no point in refolding a potentiall huge term for no reason. --- kernel/cClosure.mli | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kernel/cClosure.mli') diff --git a/kernel/cClosure.mli b/kernel/cClosure.mli index 9e94248113..79092813bc 100644 --- a/kernel/cClosure.mli +++ b/kernel/cClosure.mli @@ -227,6 +227,10 @@ val kni: clos_infos -> clos_tab -> fconstr -> stack -> fconstr * stack val knr: clos_infos -> clos_tab -> fconstr -> stack -> fconstr * stack val kl : clos_infos -> clos_tab -> fconstr -> constr +val zip : fconstr -> stack -> fconstr + +val term_of_process : fconstr -> stack -> constr + val to_constr : lift -> fconstr -> constr (** End of cbn debug section i*) -- cgit v1.2.3