guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] branch master updated: Fix typo causing performance prob


From: Andy Wingo
Subject: [Guile-commits] branch master updated: Fix typo causing performance problems!!!
Date: Fri, 29 May 2020 11:00:44 -0400

This is an automated email from the git hooks/post-receive script.

wingo pushed a commit to branch master
in repository guile.

The following commit(s) were added to refs/heads/master by this push:
     new 411954c  Fix typo causing performance problems!!!
411954c is described below

commit 411954c96116cf03394d7f886cf5a6d4a803ec5e
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Fri May 29 16:59:08 2020 +0200

    Fix typo causing performance problems!!!
    
    * module/language/cps/cse.scm (eliminate-common-subexpressions-in-fun):
      Amazingly this typo causes Guile to be 10% slower or so.  Fixed!
---
 module/language/cps/cse.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/language/cps/cse.scm b/module/language/cps/cse.scm
index 39d9a01..5fe89ce 100644
--- a/module/language/cps/cse.scm
+++ b/module/language/cps/cse.scm
@@ -503,7 +503,7 @@ false.  It could be that both true and false proofs are 
available."
 
   (define (visit-term label names vars term out substs analysis)
     (let ((term (rename-uses term substs))
-          (analyis (propagate-analysis analysis label out)))
+          (analysis (propagate-analysis analysis label out)))
       (match term
         (($ $branch)
          ;; Can only forward predecessors if this continuation binds no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]