32-way branching in intmap.scm, not 16-way
authorAndy Wingo <wingo@pobox.com>
Tue, 31 Mar 2015 10:21:47 +0000 (12:21 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 1 Apr 2015 08:53:23 +0000 (10:53 +0200)
* 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

index 467a63d..948d0ba 100644 (file)
@@ -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*))