Commits

Robert Smith committed ee9c703

Add info about SBCL compiler note.

  • Participants
  • Parent commits 459bd92

Comments (0)

Files changed (1)

src/permutation.lisp

   "Create a new cycle with the elements ELEMENTS."
   (check-cycle-elements elements)
   
+  ;; XXX: SBCL will say that dead code elimination is going on
+  ;; here. This is because COERCE expands into (IF (VECTORP X) X ...),
+  ;; and SBCL can infer that X is a list.
+  ;;
+  ;;    -- Robert Smith 5/24/2014
   (let ((cycle (%make-cycle :spec (coerce elements 'vector))))
     (if *canonicalize-cycle-on-creation*
         (canonicalize-cycle cycle)