🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #67

Re: Attempting to circumvent Symbolics' Reader Method optimization

#67
From: Chris Richardson
Date: Wed, 08 Apr 1992 03:57
23 lines
1719 bytes
In article <9204072351.AA24766@cambridge.apple.com> kab@cambridge.apple.com (Kim Barrett) writes:

   I don't believe there is anything in the specification that requires (or even 
   implies) that the methods defined by DEFCLASS actually call SLOT-VALUE, and I 
   believe this is intentional, as it permits some significant optimizations.  The 
   whole point of the class STANDARD-READER-METHOD is that it permits the 
   effective method computation to notice that the only applicable method is one 
   whose definition is understood by the implementation, thereby allowing the 
   access to be inlined in the effective method or even "hoisted" up into the 
   generic function dispatcher.

Certainly page 777 of cltl2 says that readers and writers are actually
implemented using slot-value and so does page 7-14 of x3j13/92-101.
The implementation can optimize accessors when it knows that the only
applicable methods for slot-value-using-class are the system supplied
methods.

--
-----
Chris Richardson, Franz Inc.	1995 University Avenue, Suite 275         
cer@Franz.COM (internet)	Berkeley, CA  94704                       
uunet!franz!cer (uucp)		Phone: (510) 548-3600; FAX: (510) 548-8253
Technical Details
Message-ID: <CER.92Apr7195759@vapor.Franz.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!franz.com!franz!cer
References: <9204072351.AA24766@cambridge.apple.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos
Path: arc1-ca.pugleaf.net!sparky!uunet!franz.com!franz!cer
From: cer@Franz.COM (Chris Richardson)
Subject: Re: Attempting to circumvent Symbolics' Reader Method optimization
In-Reply-To: kab@cambridge.apple.com's message of Wed, 8 Apr 1992 00:56:40 GMT
Message-ID: <CER.92Apr7195759@vapor.Franz.COM>
Sender: news@franz.com
Nntp-Posting-Host: vapor
Organization: Franz Inc., Berkeley, CA
References: <9204072351.AA24766@cambridge.apple.com>
Date: Wed, 8 Apr 1992 03:57:59 GMT