1.0.40.6: call an appropriate existing ctor from MAKE-INSTANCE (CLASS)
authorChristophe Rhodes <csr21@cantab.net>
Mon, 19 Jul 2010 07:05:39 +0000 (07:05 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Mon, 19 Jul 2010 07:05:39 +0000 (07:05 +0000)
commitcea2946076e0dac11eea1c95158e5e2326455dd8
treeae19a00631c8091f20b65852ba648f1f25c99e5a
parent48f1b4dc1e7ee809bbeb92cf6595f1298450c136
1.0.40.6: call an appropriate existing ctor from MAKE-INSTANCE (CLASS)

The intuition here is that searching for a ctor is much cheaper than
the whole of the unoptimized make-instance machinery.  If a class has
many, many ctors, this may not be true, but that should be the rare
case.

Only call optimized ctors so that we don't risk endless recursion
through the fallback case.
NEWS
src/pcl/ctor.lisp
src/pcl/init.lisp
version.lisp-expr