All Manuals > LispWorks User Guide and Reference Manual > 14 The Metaobject Protocol > 14.2 Common problems when using the MOP

NextPrevUpTopContentsIndex

14.2.2 Accessors not using structure instance protocol

By default, defclass creates optimized standard accessors which do not call slot-value-using-class.

This optimization is controlled by the defclass option :optimize-slot-access , which defaults to t .

There is an illustration of this effect of :optimize-slot-access in the example below.


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex