not inlining #class (was Re: Singletons)
Tim Rowledge
tim at sumeru.stanford.edu
Thu Dec 4 21:37:41 UTC 2003
Avi Bryant <avi at beta4.com> wrote:
>
> On Dec 4, 2003, at 4:04 AM, ducasse wrote:
> >
> > I did that beofre discovering Squeak. In squeak you can change the
> > compiler to send the class message.
> > this is changeClass and a real valueWith that was missing at that time.
>
> It seems to me there was a thread a bit ago about changing this so that
> #class actually gets sent.
Yeah, I did a teensy hack for that a while back.
> Is there any reason not to do this? What was the original rationale
> behind inlining it? Can we change it in 3.7?
I think it was really one of those performance enhancing things done
decades ago when machines were slow and never really looked at again.
tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: RNC: Re-Number Channels
More information about the Squeak-dev
mailing list
|