X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fdfun.lisp;h=6988c34b5409a3be61c02407990bcbd8a7f72448;hb=dde834ef75cb12b8cdda23472b3365de72d9422a;hp=6337b611b68f8bba06b61d99f4b147b962af1ab6;hpb=2912f5f6c2acb2da3b9fcc0f5afd1ca89782a9f8;p=sbcl.git diff --git a/src/pcl/dfun.lisp b/src/pcl/dfun.lisp index 6337b61..6988c34 100644 --- a/src/pcl/dfun.lisp +++ b/src/pcl/dfun.lisp @@ -769,11 +769,14 @@ Except see also BREAK-VICIOUS-METACIRCLE. -- CSR, 2003-05-28 ;;; considered as state transitions. (defvar *lazy-dfun-compute-p* t) (defvar *early-p* nil) -(defvar *max-emf-precomputation-methods* 10) + +(declaim (type (or null unsigned-byte) *max-emf-precomputation-methods*)) +(defvar *max-emf-precomputation-methods* nil) (defun finalize-specializers (gf) (let ((methods (generic-function-methods gf))) - (when (<= (length methods) *max-emf-precomputation-methods*) + (when (or (null *max-emf-precomputation-methods*) + (<= (length methods) *max-emf-precomputation-methods*)) (let ((all-finalized t)) (dolist (method methods all-finalized) (dolist (specializer (method-specializers method))