Tiny CLOS: Faster slot accesses?

From: Pascal Costanza (costanza_at_web.de)
Date: 11/29/03


Date: Sat, 29 Nov 2003 12:36:20 +0100


I have downloaded Tiny CLOS from
http://www2.parc.com/csl/groups/sda/projects/oi/software.html

The readme says the following, among other things:

"Even though the Tiny CLOS implementation itself isn't optimized, this
MOP is amenable to optimization, using techniques like those mentioned
in AMOP. In fact, the slot access protocol used in this MOP is such
that it should be possible to get better performance than is possible
with the CLOS MOP."

Does anyone what this means in detail? I haven't yet read the AMOP book,
so it's hard for me to figure out what the differences are...

Thanks in advance for any hints.

Pascal

-- 
Tyler: "How's that working out for you?"
Jack: "Great."
Tyler: "Keep it up, then."


Relevant Pages

  • Re: Prototype based programming in Lisp
    ... does the MOP make up for some of this ... CLOS already collapses the notions of class and instance to a certain ... need to use the CLOS MOP, though (although a few limited meta-level ... Tyler: "How's that working out for you?" ...
    (comp.lang.lisp)
  • Re: Cross-lisp questions and my #lisp experience
    ... the functionality is there... ... with a few non-generics that I turned into generics. ... I think that's an important element of the CLOS MOP ...
    (comp.lang.lisp)
  • Re: Art of MetaObject Protocol and Reflection (Java, C#, etc.)
    ... I can change the bytecode before it is loaded but this is low-level stuff, not modifying a class using Java constructs themselves, right? ... the language mechanism (I assume this can be said for MOP, using simply the CLOS itself to extend itself, but of course I'm nothing but a confused newbie, that's why I ask). ... This is mainly because the balance between giving the programmer of a CLOS implementation more possibilities to optimize things and the user of the MOP more flexilibity to change them is a delicate issue. ...
    (comp.lang.lisp)
  • Re: Art of MetaObject Protocol and Reflection (Java, C#, etc.)
    ... >> (ok, ok don't hit me, don't hit me... ... this MOP stuff is just ... > CLOS, that is CLOS implemented in itself. ... Emre Sevinc ...
    (comp.lang.lisp)
  • Re: LISP diploma project idea
    ... be nice (like Constanza's AspectL and ContextL from Closer). ... I am already working on a MOP for ContextL, and this isn't too much work ... It would be interesting to build a full implementation of this for CLOS. ... Classboxes approach, contributions would be to cover generic functions / ...
    (comp.lang.lisp)