[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
change to instance structure protocol
- To: Gregor Kiczales <email@example.com>
- Subject: change to instance structure protocol
- From: Moon@stony-brook.scrc.symbolics.com
- Date: Thu, 29 Nov 1990 12:35:00 PST
- Cc: MOP.PARC@xerox.com
- Illegal-object: Syntax error in From: address found on alpha.xerox.com: From: David A.Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM> ^ ^-illegal period in phrase \-phrases containing '.' must be quoted
- In-reply-to: <90Nov22.firstname.lastname@example.org>
Date: Thu, 22 Nov 1990 15:59 EST
From: Gregor Kiczales <Gregor@parc.xerox.com>
There is an elegant solution, but I have refrained from proposing it for
some time. Now, it really seems worth proposing.
The basic idea is to change the last (slot-name) argument to all of the
SLOT-XXX-USING-CLASS generic functions. The new value would be the
actual effective slot definition metaobject rather than the slot name.
In my opinion your proposal is clearly the right thing.
By the way, I verified that adopting this proposal would not slow down
SLOT-VALUE in the inline optimized case nor in the notinline optimized
case in Symbolics' implementation. I'm not sure why JonL thought it
would slow down the notinline case, although Lucid's implementation may
work differently. In Symbolics' implementation notinline SLOT-VALUE
does not call SLOT-VALUE-USING-CLASS for the standard metaclass.