[armedbear-ticket] [armedbear] #74: slow compilation test

armedbear armedbear-devel at common-lisp.net
Tue Dec 8 13:16:34 UTC 2009


#74: slow compilation test
-------------------------+--------------------------------------------------
 Reporter:  trittweiler  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  major        |   Milestone:          
Component:  CLOS         |     Version:          
 Keywords:               |  
-------------------------+--------------------------------------------------
 (eval-when (:compile-toplevel :load-toplevel :execute)
   (defclass foo () ()))

 (defun quux (x)
   (case x
     (#. (find-class 'foo) :foo)
     (t :quux)))

 (flet ((test (x)
          (format t "~&(QUUX ~S) => ~S~%" x (quux x))))
   (test 42)
   (test (find-class 'foo)))

 COMPILE-FILE'ing that takes over a second. No real life case,
 of course, still you may be interested.

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/74>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list