SmalltalkImage or SystemDictionary

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SmalltalkImage or SystemDictionary

Stéphane Ducasse
hasSpecialSelector: ifTrueSetByte:

is heavily used by SystemNavigation but either invoked via Smalltak or self environment or classEnviroment

I would tend to think that this is something that should be part of SmalltalkImage but this is not that clear.
What do you think?

Stef
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkImage or SystemDictionary

Nicolas Cellier
2010/3/20 Stéphane Ducasse <[hidden email]>:
> hasSpecialSelector: ifTrueSetByte:
>
> is heavily used by SystemNavigation but either invoked via Smalltak or self environment or classEnviroment
>
> I would tend to think that this is something that should be part of SmalltalkImage but this is not that clear.
> What do you think?
>

I just don't know. Since it is an information shared by the VM, maybe
it's better letting it here.
Just for curiousity, I checked how these special selectors where
shared in Encoder... Huh, not straightforward !

Nicolas

> Stef
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkImage or SystemDictionary

Stéphane Ducasse

On Mar 20, 2010, at 10:32 PM, Nicolas Cellier wrote:

> 2010/3/20 Stéphane Ducasse <[hidden email]>:
>> hasSpecialSelector: ifTrueSetByte:
>>
>> is heavily used by SystemNavigation but either invoked via Smalltak or self environment or classEnviroment
>>
>> I would tend to think that this is something that should be part of SmalltalkImage but this is not that clear.
>> What do you think?
>>
>
> I just don't know. Since it is an information shared by the VM, maybe
> it's better letting it here.

After looking more at the code I think that SmalltalkImage is an ok place.

> Just for curiousity, I checked how these special selectors where
> shared in Encoder... Huh, not straightforward !

Well this was ok when the machines were that small and slow. Now the complexity to avoid just to have ifTrue: in literal
arrays is not really worth. I would be curious to know the size we gain.


Stef
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkImage or SystemDictionary

Lukas Renggli
In reply to this post by Stéphane Ducasse
FYI: The refactoring engine also uses this method quite heavily.

Lukas

On Saturday, March 20, 2010, Stéphane Ducasse <[hidden email]> wrote:

> hasSpecialSelector: ifTrueSetByte:
>
> is heavily used by SystemNavigation but either invoked via Smalltak or self environment or classEnviroment
>
> I would tend to think that this is something that should be part of SmalltalkImage but this is not that clear.
> What do you think?
>
> Stef
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project