From: Nikodemus S. <nik...@ra...> - 2011-02-18 16:36:36
|
The attached patch makes CLOS go faster when MOP is afoot: in current CVS HEAD all ways of accessing slots with the exception of STANDARD-INSTANCE-ACCESS slow down by a factor of ~17 when there are user defined methods on SLOT-VALUE-USING-CLASS or its compatriots. With my changes the difference is goes down to a slowdown by a factor of ~4 when using MOPified accesses. Patch attached for your delectation -- builds and passes tests, but has not yet been heavily tested otherwise. A simplistic benchmark is also attached. Cheers, -- Nikodemus |