projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
1.0.12.18: faster member-type operations
[sbcl.git]
/
src
/
compiler
/
checkgen.lisp
diff --git
a/src/compiler/checkgen.lisp
b/src/compiler/checkgen.lisp
index
6274c30
..
0a93245
100644
(file)
--- a/
src/compiler/checkgen.lisp
+++ b/
src/compiler/checkgen.lisp
@@
-59,7
+59,7
@@
(compound-type
(reduce #'+ (compound-type-types type) :key 'type-test-cost))
(member-type
- (* (length (member-type-members type))
+ (* (member-type-size type)
(fun-guessed-cost 'eq)))
(numeric-type
(* (if (numeric-type-complexp type) 2 1)