Newsgroups: comp.lang.clos
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!purdue!lerc.nasa.gov!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!newsjunkie.ans.net!pipeline!psinntp!psinntp!psinntp!hqda-ai!grant
From: grant@pentagon-ai.army.mil (Pete Grant)
Subject: Re: SLOT-VALUE/WITH-SLOTS vs. standard accessors?
Message-ID: <DEE69M.93n@pentagon-ai.army.mil>
Organization: U.S. Army Artificial Intelligence Center, The Pentagon
References: <pch-3008951031120001@198.3.157.39> <GRAY.95Aug31113636@meteor.harlequin.com>
Date: Mon, 4 Sep 1995 17:36:58 GMT
Lines: 14

In article <GRAY.95Aug31113636@meteor.harlequin.com> gray@meteor.harlequin.com (David N Gray) writes:
>In article <pch-3008951031120001@198.3.157.39> pch@mystech.com (Pete Halverson) writes:
>
>My (by now somewhat hazy) recollection of the implementation that I once
>worked on (for the TI Explorer) is that SLOT-VALUE was more efficient when
>used to access a specialized method argument, since in that case the
>object's class is known at compile time.  Thus the recommended practice
>there was to use SLOT-VALUE or WITH-SLOTS within the methods that implement
>the class, and to use accessor functions for external access.

On Genera, WITH-SLOTS is a macro that expands to (SLOT-VALUE...

(the other) Pete.

