guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simplified slot access in goops


From: Neil Jerram
Subject: Re: Simplified slot access in goops
Date: Mon, 1 Dec 2008 22:25:30 +0000

2008/11/27 Maciek Godek <address@hidden>:

> Perhaps the possible inconvenience is that all variable
> names that happen to be the slot names of a given class
> are shadowed. In the long run it may also cause significant
> performance problems (or that's what I think), especially
> when dealing with objects with a hell lotta slots.
>
> I wonder if it would be possible to make it optimizable
> for the JIT compiler somehow (and to make the "in" syntax
> official part of GOOPS)

I think this is a nice interface; but I'm less sure about the
implementation.  Why do you need to use primitive-eval at all?

Isn't CL's with-slots a bit like this?  It might help to look at how
that is implemented.

     Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]