SATISFIES makes vectors hairy
Bug #316078 reported by
Nikodemus Siivola
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Medium
|
Nikodemus Siivola |
Bug Description
Reported by Cedric St-Jean to sbcl-devel on 12/28/08:
Under SBCL 1.0.14:
(defun foo (x)
(declare (type (and simple-bit-vector (satisfies bar)) x)
(elt x 5))
Under high speed policy, the compiler treats x as an hairy vector, so
it's slow. Without 'satisfies, it works fine of course.
Changed in sbcl: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in sbcl: | |
assignee: | nobody → Nikodemus Siivola (nikodemus) |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The issue is with EXTRACT- UPGRADED- ELEMENT- TYPE not understanding intersection types.