sbcl clim-lisp-patch:defconstant overly conservative
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
McCLIM |
Confirmed
|
Low
|
Unassigned |
Bug Description
Report from Nikodemus Siivola
affects mcclim
status confirmed
importance low
tag performance sbcl patch
summary "sbcl clim-lisp-
done
I was recently somewhat burned (performance-wise) by
clim-lisp:
Would something like the following be an acceptable substitute? It
remains portable, but allows implementations to do a much better job
for important cases like numeric constants:
(defmacro clim-lisp-
(if (typep value '(or number character))
`
`(defvar ,symbol ,value ,@(and docu (list docu)))))
Cheers,
-- Nikodemus