%vector-widetag-and-n-bits is slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
sb-impl:
Most obvious place it shows up is current implementation of SUBSEQ, but discussion in #sbcl suggested it shouldn't be calling %v-w-a-n-b anyway, so that will get a separate bug.
Also ran into it in ironclad, which was doing something like
(let ((length (some-function))
(make-array length ...)))
which didn't trigger the MAKE-ARRAY transforms since nothing was known about the type of LENGTH.
It also looks like something in the compiler ends up calling it, but probably not enough to slow things down noticeably (something like 6700 calls compiling hunchentoot and dependencies from scratch for example).
This was fixed some time ago.