aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/byterun
diff options
context:
space:
mode:
authorGravatar aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-05-27 16:56:07 +0000
committerGravatar aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-05-27 16:56:07 +0000
commite7116e5990033c74a81987a236c2221582957da8 (patch)
treec58b9c45a44230733f81e3fe8b3bfe235bb474a5 /kernel/byterun
parent69553d6a87eab1e1769332a92df26e9a02a0f6c1 (diff)
Correction du problème de complexité de Print Assumptions :
- Suite à une modification faite maladroitement, on ne se contentait pas de comparer le nom de la supposition quand on l'insérait dans l'ensemble des suppositions utilisées, mais aussi son type, ce qui était inutilement long (mais pas le facteur principal) - L'environnement était parcouru deux fois pour chaque variable de section. Ce n'était pas très grave vu qu'en général on a assez peu de variables de sections sous la main. Mais ça restait inutile. - Les noms qui ont déjà étés explorés sont maintenant memoizés, ce qui gagne dans le cas les pires (comme les théorèmes sur les réels typiquement) une exponentiel dans le temps de recherche (si on visualise l'espace de recherche comme un DAG, l'ancienne procédure le parcourais comme si il était un arbre, ce qui a une complexité exponentielle en la taille du DAG). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11001 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/byterun')
-rw-r--r--kernel/byterun/coq_interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/byterun/coq_interp.c b/kernel/byterun/coq_interp.c
index a2ece57c4..880e978af 100644
--- a/kernel/byterun/coq_interp.c
+++ b/kernel/byterun/coq_interp.c
@@ -1190,7 +1190,7 @@ value coq_interprete
Instruct (DIV21INT31) {
print_instr("DIV21INT31");
/* spiwack: takes three int31 (the two first ones represent an
- int62) and perfoms the euclidian division of the
+ int62) and performs the euclidian division of the
int62 by the int31 */
uint64 bigint;
bigint = UI64_of_value(accu);