[Top][All Lists]

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

[Guile-commits] 06/09: 32-way branching in intmap.scm, not 16-way

From: Andy Wingo
Subject: [Guile-commits] 06/09: 32-way branching in intmap.scm, not 16-way
Date: Wed, 08 Apr 2015 15:21:06 +0000

wingo pushed a commit to branch master
in repository guile.

commit cf512e32687b41690ab436f13322d7a9e00094b7
Author: Andy Wingo <address@hidden>
Date:   Tue Mar 31 12:21:47 2015 +0200

    32-way branching in intmap.scm, not 16-way
    * module/language/cps/intmap.scm (*branch-bits*): Switch to 32-way
      branching.  Marginally faster on lookup, and creation costs can be
      amortized via using the transient interface.  Marginal speedup for
      assembler.scm compilation.
 module/language/cps/intmap.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/module/language/cps/intmap.scm b/module/language/cps/intmap.scm
index 467a63d..948d0ba 100644
--- a/module/language/cps/intmap.scm
+++ b/module/language/cps/intmap.scm
@@ -49,7 +49,7 @@
 (define-syntax-rule (define-inline name val)
   (define-syntax name (identifier-syntax val)))
-(define-inline *branch-bits* 4)
+(define-inline *branch-bits* 5)
 (define-inline *branch-size* (ash 1 *branch-bits*))
 (define-inline *branch-mask* (1- *branch-size*))

reply via email to

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