[Q] perform:
Anthony Hannan
ajh18 at cornell.edu
Wed Feb 12 17:20:58 UTC 2003
Alexandre Bergel <bergel at iam.unibe.ch> wrote:
> The implementation of the Classbox model need a VM method lookup modification. But I also would like to come with a changeset which doesn't require a such new VM. Like that people can play with it. The tradeoff will be the speed.
> > You could (I think) come up with a different compiler for the classes
> > of interest that would send #perform:.
> That was I tought, but I prefer to ask than to make some wrong assumption.
If you don't mind real slowness, you could wrap objects that need this in
a proxy that intercepts the message on doesNotUnderstand: then forwards
it. Just override #new in the desired classes to wrap the result
before returning it.
More information about the Squeak-dev
mailing list
|