Next: Inlining Methods in Effective Methods, Previous: Slot Type Checking, Up: CLOS [Contents][Index]
The declaration ext:slots
is used for optimizing slot access in
methods.
declare (ext:slots specifier*) specifier ::= (quality class-entry*) quality ::= SLOT-BOUNDP | INLINE class-entry ::= class | (class slot-name*) class ::= the name of a class slot-name ::= the name of a slot
The slot-boundp
quality specifies that all or some slots of a
class are always bound.
The inline
quality specifies that access to all or some slots
of a class should be inlined, using compile-time knowledge of class
layouts.