]> matita.cs.unibo.it Git - helm.git/commit
This commit (partially) removes a big source of inefficiency (at least for
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 19 Sep 2005 13:51:29 +0000 (13:51 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 19 Sep 2005 13:51:29 +0000 (13:51 +0000)
commite82e30cc9885f2acdf03801c637aaacfd8c81d71
treedad02ced3460b74e8b721c65c3781eb81229a608
parentba1543704989d6d60f1e510b5957368957dc519e
This commit (partially) removes a big source of inefficiency (at least for
the select function and the rewrite tactic): CicUnification.UnificationFailure
exceptions were enriched producing (in a very expensive way) a nice error
message. However, the expensive error message is useful only when it must be
shown to the user. Very often this is not the case. Thus I am now postponing
the production of the error message, changing the type of the exception.
NOTE: this kind of improvement can be applied everywhere in the code!
At least it should be applied to functions that can normally fail (e.g.
unification, refinement, convertibility, type checking, etc.)
helm/ocaml/cic_disambiguation/disambiguate.ml
helm/ocaml/cic_unification/cicRefine.ml
helm/ocaml/cic_unification/cicRefine.mli
helm/ocaml/cic_unification/cicUnification.ml
helm/ocaml/cic_unification/cicUnification.mli
helm/ocaml/paramodulation/inference.ml